added pfetch

This commit is contained in:
Ella-0 2021-01-31 13:41:52 +00:00
parent 605a0d7e56
commit 6172c74c4f

22
pkgs/pfetch/build.sh Normal file
View file

@ -0,0 +1,22 @@
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
}