aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2020-06-17 22:00:13 +0200
committerA. Klitzing <aklitzing@gmail.com>2020-06-17 20:14:24 +0000
commita7e80d054002ff0ec1332379571fd9875b5d6159 (patch)
tree75292f4b402acac019c807b75c386ade9b04a4de
parent1df83a3747990bb272fffac3e03ec6a7c3e70826 (diff)
downloadaports-a7e80d054002ff0ec1332379571fd9875b5d6159.tar.gz
aports-a7e80d054002ff0ec1332379571fd9875b5d6159.tar.bz2
aports-a7e80d054002ff0ec1332379571fd9875b5d6159.tar.xz
community/pcsc-cyberjack: upgrade to 3.99.5_p14
* Rename to .tar.bz2 as it is bzip compressed even the name is .tar.gz. * Modernize abuild
-rw-r--r--community/pcsc-cyberjack/APKBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/community/pcsc-cyberjack/APKBUILD b/community/pcsc-cyberjack/APKBUILD
index 7af2f2ffc6..9c26b0ba22 100644
--- a/community/pcsc-cyberjack/APKBUILD
+++ b/community/pcsc-cyberjack/APKBUILD
@@ -1,40 +1,37 @@
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=pcsc-cyberjack
-pkgver=3.99.5_p13
+pkgver=3.99.5_p14
_pkgver=${pkgver/_p/_SP}
_filever=${_pkgver%_SP*}final.${_pkgver#*_}
pkgrel=0
pkgdesc="PCSC driver for Reiner SCT cyberjack card reader"
url="http://www.reiner-sct.com/"
arch="all"
-license="LGPL"
+license="GPL-2.0-only"
depends="pcsc-lite"
makedepends="autoconf automake libtool pcsc-lite-dev libusb-dev"
options="!check"
-source="http://support.reiner-sct.de/downloads/LINUX/V${_pkgver}/pcsc-cyberjack_${_filever}.tar.gz"
-builddir="$srcdir/"$pkgname-${_filever}
+source="pcsc-cyberjack_$_filever.tar.bz2::http://support.reiner-sct.de/downloads/LINUX/V$_pkgver/pcsc-cyberjack_$_filever.tar.gz"
+builddir="$srcdir/$pkgname-$_filever"
prepare() {
- cd "$builddir"
default_prepare
autoreconf -vif
}
build() {
- cd "$builddir"
./configure \
--prefix=/usr \
--disable-static \
--mandir=/usr/share/man/man8 \
- --sysconfdir=/etc/"${pkgname}" \
+ --sysconfdir=/etc/"$pkgname" \
--enable-udev \
- --with-usbdropdir=$(pkg-config libpcsclite --variable=usbdropdir)
+ --with-usbdropdir="$(pkg-config libpcsclite --variable=usbdropdir)"
make
}
package() {
- cd "$builddir"
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="$pkgdir" install
}
-sha512sums="74ac56a0f74a69006c87e2c22e147b65d26582d29753de03d56e4ad76413f4477a031d47f5eb074323b4ffd000b0908a1fb2b12fb7d91e9b3ee67e983e09e968 pcsc-cyberjack_3.99.5final.SP13.tar.gz"
+sha512sums="c83e142d6c071f7f20f9f15b9b76ed819873760bda4b49ec042506b2d7ef9ad8674c953abe67f08a1c4b178ce44767ba6479ea1148d8eeb38797e4775b2a9e82 pcsc-cyberjack_3.99.5final.SP14.tar.bz2"