22 lines
367 B
Bash
22 lines
367 B
Bash
pkgname=wld
|
|
pkgver=master
|
|
|
|
fetch() {
|
|
curl -L "https://github.com/michaelforney/wld/archive/refs/heads/master.tar.gz" -o $pkgname-$pkgver.tar.xz
|
|
tar -xf $pkgname-$pkgver.tar.xz
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
gmake PREFIX=/usr CC=cc
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
gmake install DESTDIR=$pkgdir PREFIX=/usr
|
|
}
|
|
|
|
license() {
|
|
cd $pkgname-$pkgver
|
|
cat COPYING
|
|
}
|