23 lines
344 B
Bash
23 lines
344 B
Bash
pkgname=glibr
|
|
pkgver=main
|
|
|
|
fetch() {
|
|
curl -L "https://github.com/iglunix/glibr/archive/main.tar.gz" -o $pkgname-$pkgver.tar.gz
|
|
tar -xf $pkgname-$pkgver.tar.gz
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make install PREFIX=/usr DESTDIR=$pkgdir
|
|
}
|
|
|
|
license() {
|
|
cd $pkgname-$pkgver
|
|
cat LICENSE
|
|
# cat COPYING
|
|
}
|