aports/community/ccid/APKBUILD
Sertonix 6bd45b53fb */*: remove --no-rebuild from meson test
meson 1.7.0 and later don't include test build targets in the default
build target. With --no-rebuild the test targets aren't build at all.
Removing --no-rebuild shouldn't cause any false rebuilds since the files
aren't changed between the build() and check() step.

Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16891
Ref https://github.com/mesonbuild/meson/pull/10413
2025-05-09 20:48:14 +00:00

42 lines
894 B
Text

# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=ccid
pkgver=1.6.1
pkgrel=0
pkgdesc="USB CCID/ICCD SmartCard reader driver"
url="https://ccid.apdu.fr/"
arch="all"
license="LGPL-2.1-or-later"
depends="pcsc-lite"
makedepends="
flex
libusb-dev
meson
pcsc-lite-dev
perl
zlib-dev
"
source="https://ccid.apdu.fr/files/ccid-$pkgver.tar.xz"
options="!check" # no tests
build() {
abuild-meson \
-Dserial=true \
output .
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
mkdir -p "$pkgdir"/usr/lib/udev/rules.d/
cp src/92_pcscd_ccid.rules "$pkgdir"/usr/lib/udev/rules.d/
}
sha512sums="
3c8336a71e48880f3239b322acb0c40231ae83f80011cef39fef95eade6fd76849343faafdb4fcf9e962afda2c3a415e4a537d3f423b152ef2d3dddb4ecf2eac ccid-1.6.1.tar.xz
"