added slang
This commit is contained in:
parent
65d8e1f6d2
commit
e50e16da75
1 changed files with 28 additions and 0 deletions
28
pkgs/slang/build.sh
Normal file
28
pkgs/slang/build.sh
Normal file
|
@ -0,0 +1,28 @@
|
|||
pkgname=slang
|
||||
pkgver=2.3.2
|
||||
|
||||
fetch() {
|
||||
curl "https://www.jedsoft.org/releases/slang/$pkgname-$pkgver.tar.bz2" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--build=x86_64-unknown-linux-musl \
|
||||
--host=x86_64-unknown-linux-musl
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR=$pkgdir
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
Loading…
Reference in a new issue