pfetch: fix build

This commit is contained in:
Ella-0 2021-07-31 13:30:05 +00:00
parent 54390807a1
commit 39a8ac0915
7 changed files with 22 additions and 22 deletions

22
base/libnl-tiny/build.sh Normal file
View file

@ -0,0 +1,22 @@
pkgname=libnl-tiny
pkgver=master
fetch() {
curl -L "https://github.com/sabotage-linux/libnl-tiny/archive/refs/heads/master.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
cd $pkgname-$pkgver
}
build() {
cd $pkgname-$pkgver
gmake prefix=/usr all CC=cc
}
package() {
cd $pkgname-$pkgver
gmake prefix=/usr DESTDIR=$pkgdir install
}
license() {
curl "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt"
}