added pfetch
This commit is contained in:
parent
605a0d7e56
commit
6172c74c4f
1 changed files with 22 additions and 0 deletions
22
pkgs/pfetch/build.sh
Normal file
22
pkgs/pfetch/build.sh
Normal 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
|
||||
}
|
Loading…
Reference in a new issue