aboutsummaryrefslogtreecommitdiffstats
path: root/community/libudev-zero/APKBUILD
blob: e575740aaa7274bd27be0b3ed3572793531ca9cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=libudev-zero
pkgver=1.0.0
pkgrel=0
pkgdesc="libudev replacement to use whatever device manager"
url="https://github.com/illiliti/libudev-zero/"
arch="all"
license="ISC"
options="!check" # no tests
makedepends="linux-headers"
provides="udev"
replaces="udev"
provider_priority=20
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/illiliti/libudev-zero/archive/$pkgver.tar.gz"

build() {
	make PREFIX=/usr
}

package() {
	make DESTDIR=$pkgdir PREFIX=/usr install
	rm -f $pkgdir/usr/lib/libudev.a
}

sha512sums="
1e1b56be0250b411ec094d233bd30447115e257e5acd21e3c808daab1b4395f9293d9461c7c89f7c012e5da657bba5e46f6e7eca541ffcc56eab32205dcd5a9f  libudev-zero-1.0.0.tar.gz
"