iglunix/pkgs/pfetch/build.sh

23 lines
349 B
Bash
Raw Normal View History

2021-01-31 13:41:52 +00:00
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
}