mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
libnitrokey: move udev rules to nitrokey-udev-rules
This commit is contained in:
parent
ab9704f016
commit
bbf4a8f89e
1 changed files with 8 additions and 1 deletions
|
@ -1,10 +1,11 @@
|
||||||
# Template file for 'libnitrokey'
|
# Template file for 'libnitrokey'
|
||||||
pkgname=libnitrokey
|
pkgname=libnitrokey
|
||||||
version=3.8
|
version=3.8
|
||||||
revision=2
|
revision=3
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="hidapi-devel"
|
makedepends="hidapi-devel"
|
||||||
|
depends="nitrokey-udev-rules"
|
||||||
short_desc="Communicate with Nitrokey devices in a clean and easy manner"
|
short_desc="Communicate with Nitrokey devices in a clean and easy manner"
|
||||||
maintainer="Julio Galvan <juliogalvan@protonmail.com>"
|
maintainer="Julio Galvan <juliogalvan@protonmail.com>"
|
||||||
license="LGPL-3.0-or-later"
|
license="LGPL-3.0-or-later"
|
||||||
|
@ -12,6 +13,12 @@ homepage="https://github.com/Nitrokey/libnitrokey"
|
||||||
distfiles="https://github.com/Nitrokey/libnitrokey/releases/download/v${version}/libnitrokey-v${version}.tar.gz"
|
distfiles="https://github.com/Nitrokey/libnitrokey/releases/download/v${version}/libnitrokey-v${version}.tar.gz"
|
||||||
checksum=3b7ebcfc47b2c45313bc5f17842f0160cbaf87f41d2621af18c5b56837e393a1
|
checksum=3b7ebcfc47b2c45313bc5f17842f0160cbaf87f41d2621af18c5b56837e393a1
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# udev rules are now shipped separately
|
||||||
|
# https://github.com/Nitrokey/nitrokey-udev-rules
|
||||||
|
rm "$PKGDESTDIR/usr/lib/udev/rules.d/41-nitrokey.rules"
|
||||||
|
}
|
||||||
|
|
||||||
libnitrokey-devel_package() {
|
libnitrokey-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue