diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-12-19 12:26:16 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-12-19 12:26:51 +0000 |
commit | d882b6b7b6b323878e8f180565081290cc545b63 (patch) | |
tree | f0dbc1dbbfad1393d00644fc2ba5593e89c27ceb /main/pcsc-lite | |
parent | a9fcb40336b5d1febd0d3b06cac4cbe6ace20f34 (diff) | |
download | aports-d882b6b7b6b323878e8f180565081290cc545b63.tar.bz2 aports-d882b6b7b6b323878e8f180565081290cc545b63.tar.xz |
main/pcsc-lite: upgrade to 1.8.23, modernize
Diffstat (limited to 'main/pcsc-lite')
-rw-r--r-- | main/pcsc-lite/APKBUILD | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/main/pcsc-lite/APKBUILD b/main/pcsc-lite/APKBUILD index 1f86fa07c7..60604501f5 100644 --- a/main/pcsc-lite/APKBUILD +++ b/main/pcsc-lite/APKBUILD @@ -2,7 +2,7 @@ # Contributor: Timo Teräs <timo.teras@iki.fi> # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=pcsc-lite -pkgver=1.8.22 +pkgver=1.8.23 pkgrel=0 pkgdesc="Middleware to access a smart card using SCard API (PC/SC)" url="http://pcsclite.alioth.debian.org/pcsclite.html" @@ -13,7 +13,7 @@ depends_dev="eudev-dev" makedepends="$depends_dev perl perl-dev libcap-ng-utils" install="pcsc-lite.pre-install pcsc-lite.pre-upgrade" subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" -source="https://alioth.debian.org/frs/download.php/file/4225/pcsc-lite-1.8.22.tar.bz2 +source="https://alioth.debian.org/frs/download.php/file/4235/pcsc-lite-1.8.23.tar.bz2 pcscd.initd" builddir="$srcdir"/pcsc-lite-$pkgver @@ -32,16 +32,16 @@ build() { --without-systemdsystemunitdir \ --enable-ipcdir=/run/pcscd \ --enable-usbdropdir=/usr/lib/pcsc/drivers \ - --disable-polkit \ - || return 1 - make || return 1 + --disable-libsystemd \ + --disable-polkit + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install install -D -m755 "$srcdir"/pcscd.initd \ - "$pkgdir"/etc/init.d/pcscd || return 1 + "$pkgdir"/etc/init.d/pcscd mkdir -p "$pkgdir"/usr/lib/pcsc/drivers # grant sysfs access @@ -51,16 +51,15 @@ package() { libs() { pkgdesc="Middleware to access a smart card using SCard API (PC/SC) (libraries)" mkdir -p "$subpkgdir"/usr - mv "$pkgdir"/usr/lib \ - "$subpkgdir"/usr || return 1 + mv "$pkgdir"/usr/lib "$subpkgdir"/usr } dev() { - default_dev || return 1 + default_dev # move back the /usr/lib/libpcsclite.so # see http://bugs.alpinelinux.org/issues/3236 (and 6392) - mv "$subpkgdir"/usr/lib/libpcsclite.so "$pkgdir"/usr/lib/libpcsclite.so || return 1 + mv "$subpkgdir"/usr/lib/libpcsclite.so "$pkgdir"/usr/lib/libpcsclite.so } -sha512sums="762eccf6a25040653f563b93bf11262ddc015323d06d759a3472ba80af0489804410ba17c7e5330ccd4b5accc8b7314c80b5e99da278561d3818d8c381e6a025 pcsc-lite-1.8.22.tar.bz2 +sha512sums="fef9f40376660bc9de938608cfdbf12ca764be1ebb59c7a1065cb74a21ecc7333f86add25028bd47ec55b2227a9e2d15e1afcb6d0aeb510636d2aadef254bec4 pcsc-lite-1.8.23.tar.bz2 6810ab357b5bcf07bf1ad76ed17ebb8e92be4599303a4e697b87a05d43b8d2bec5d3c29d44d8ddb5d031910ea62ca52a9868e6de9a255227eaeb29d1a7ee0041 pcscd.initd" |