iglunix/pkgs/smu/build.sh

25 lines
374 B
Bash
Raw Normal View History

2021-04-05 17:41:17 +00:00
pkgname=smu
pkgver=master
fetch() {
curl -L "https://github.com/Gottox/smu/archive/refs/heads/master.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
cp ../config.mk .
}
build() {
cd $pkgname-$pkgver
cp ../config.mk .
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}