iglunix/pkgs/libnl-tiny/build.sh

25 lines
421 B
Bash
Raw Normal View History

2021-04-10 09:00:33 +00:00
pkgname=libnl-tiny
pkgver=master
fetch() {
2021-05-23 09:26:39 +00:00
curl -L "https://github.com/sabotage-linux/libnl-tiny/archive/refs/heads/master.tar.gz" -o $pkgname-$pkgver.tar.xz
2021-04-10 09:00:33 +00:00
tar -xf $pkgname-$pkgver.tar.xz
2021-04-10 10:01:16 +00:00
cd $pkgname-$pkgver
2021-04-10 09:00:33 +00:00
}
build() {
cd $pkgname-$pkgver
2021-05-23 09:26:39 +00:00
gmake prefix=/usr all CC=cc
2021-04-10 09:00:33 +00:00
}
package() {
cd $pkgname-$pkgver
2021-05-23 09:26:39 +00:00
gmake prefix=/usr DESTDIR=$pkgdir install
2021-04-10 09:00:33 +00:00
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}