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

24
base/zstd/build.sh Normal file
View file

@ -0,0 +1,24 @@
pkgname=zstd
pkgver=1.5.0
fetch() {
curl -L "https://github.com/facebook/zstd/releases/download/v$pkgver/zstd-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
gmake
}
package() {
cd $pkgname-$pkgver
gmake install PREFIX=/usr DESTDIR=$pkgdir
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}