iglunix/templates/simple.build.sh

30 lines
361 B
Bash
Raw Normal View History

2021-01-27 11:19:03 +00:00
pkgname=
pkgver=
fetch() {
curl "" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
2021-12-26 12:40:14 +00:00
--sysconfdir=/etc \
2021-06-12 16:58:00 +00:00
--build=$TRIPLE \
--host=$TRIPLE
2021-01-27 11:19:03 +00:00
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}