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/pfetch/build.sh Normal file
View File

@ -0,0 +1,22 @@
pkgname=pfetch
pkgver=master
fetch() {
curl -L "https://github.com/dylanaraps/pfetch/archive/refs/heads/$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
}
build() {
cd $pkgname-$pkgver
echo "Nothing to do"
}
package() {
cd $pkgname-$pkgver
install -Dm755 pfetch $pkgdir/usr/bin/
}
license() {
cd $pkgname-$pkgver
cat LICENSE.md
}

View File

@ -1,22 +0,0 @@
pkgname=pfetch
pkgver=0.6.0
fetch() {
curl -L "https://github.com/dylanaraps/pfetch/archive/$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
echo "Nothing to do"
}
package() {
cd $pkgname-$pkgver
install -Dm755 pfetch /usr/bin/
}
license() {
cd $pkgname-$pkgver
cat LICENSE.md
}