added libudev-zero

This commit is contained in:
Ella-0 2021-01-28 13:25:54 +00:00
parent ef04d2a079
commit afaf3f306c

View file

@ -0,0 +1,22 @@
pkgname=libudev-zero
pkgver=0.4.7
fetch() {
curl -L "https://github.com/illiliti/libudev-zero/archive/0.4.7.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
make
}
package() {
cd $pkgname-$pkgver
make install PREFIX=/usr DESTDIR=$pkgdir
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}