iglunix/gui/swvkc/build.sh

30 lines
435 B
Bash
Raw Normal View History

2021-01-28 13:21:48 +00:00
pkgname=swvkc
2021-07-31 11:34:04 +00:00
pkgver=master
2021-01-28 13:21:48 +00:00
fetch() {
2021-07-31 11:34:04 +00:00
curl -L "https://github.com/st3r4g/swvkc/archive/master.tar.gz" -o $pkgname-$pkgver.tar.gz
2021-01-28 13:21:48 +00:00
tar -xf $pkgname-$pkgver.tar.gz
mkdir $pkgname-$pkgver/build
}
build() {
cd $pkgname-$pkgver
cd build
meson .. \
2021-02-03 13:03:52 +00:00
--buildtype=debug \
2021-01-28 13:21:48 +00:00
--prefix=/usr
samu
}
package() {
cd $pkgname-$pkgver
cd build
DESTDIR=$pkgdir samu install
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}