summaryrefslogtreecommitdiff
path: root/community/acsccid
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-13 22:16:23 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-14 03:36:09 +0000
commit80606d4dd68fa2b692fb903853926d59df910067 (patch)
tree3e95edc0e4571016270c3cc085e452e7be756bf6 /community/acsccid
parent21cd8bb9e7a0e8d0cd8827585363c09871acfcf4 (diff)
downloadaports-80606d4dd68fa2b692fb903853926d59df910067.zip
community/acsccid: fix location of udev rules
Diffstat (limited to 'community/acsccid')
-rw-r--r--community/acsccid/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/community/acsccid/APKBUILD b/community/acsccid/APKBUILD
index 1e6db9dce07..54c928f6d89 100644
--- a/community/acsccid/APKBUILD
+++ b/community/acsccid/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=acsccid
pkgver=1.1.8
-pkgrel=0
+pkgrel=1
pkgdesc="PCSC driver for ACS CCID smart card reader"
url="https://github.com/acshk/acsccid"
arch="all"
@@ -13,7 +13,11 @@ subpackages="$pkgname-udev::noarch"
source="https://downloads.sourceforge.net/acsccid/acsccid-$pkgver.tar.bz2"
build() {
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --target=$CTARGET \
+ --prefix=/usr
make
}
@@ -22,11 +26,12 @@ package() {
}
udev() {
+ depends=""
pkgdesc="$pkgdesc (udev rules)"
install_if="$pkgname=$pkgver-r$pkgrel udev"
cd "$builddir"
- install -Dm644 src/92_pcscd_acsccid.rules "$subpkgdir/etc/udev/rules.d/92_pcscd_acsccid.rules"
+ install -Dm644 src/92_pcscd_acsccid.rules -t "$subpkgdir"/usr/lib/udev/rules.d
}
sha512sums="1a9bbfcda071b19693df5cc3e75216778ba4abeffe421ec6a308af77f382229f0d980b5ae0c63022833018413ea9e69f5ae1e12fb720a2dc400ca081772f8bfb acsccid-1.1.8.tar.bz2"