*/*: minor lint fixes

This commit is contained in:
ptrcnull 2024-04-23 11:52:16 +02:00
parent 985ae78087
commit 1d43587c85
4 changed files with 2 additions and 6 deletions

View File

@ -11,7 +11,7 @@ arch="noarch"
license="OFL-1.1"
depends="fontconfig"
subpackages="$pkgname-extra:_extra"
source="https://dev.alpinelinux.org/archive/font-noto-cjk/$pkgname-$pkgver.tar.xz"
source="https://dev.alpinelinux.org/archive/font-noto-cjk/font-noto-cjk-$pkgver.tar.xz"
options="!check" # font
# the git repo tarballs don't give any fonts (?),

View File

@ -9,7 +9,6 @@ arch="all"
license="Public-Domain"
subpackages="$pkgname-doc"
source="http://www.hashcash.org/source/hashcash-$pkgver.tgz"
builddir="$srcdir/hashcash-$pkgver"
build() {
make

View File

@ -35,7 +35,7 @@ check() {
.testenv/bin/python3 -m installer .dist/*.whl
# needs newer pydantic version
.testenv/bin/python3 -m pytest -k 'not test_pydantic1 and not test_pydantic2'
}
}
package() {
python3 -m installer -d "$pkgdir" \

View File

@ -11,17 +11,14 @@ depends="perl"
makedepends="pcsc-lite-dev perl-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/LudovicRousseau/pcsc-perl/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/pcsc-perl-$pkgver"
options="!check" # no tests available
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}