added swvkc
This commit is contained in:
parent
93055230fe
commit
eef865de62
1 changed files with 29 additions and 0 deletions
29
pkgs/swvkc/build.sh
Normal file
29
pkgs/swvkc/build.sh
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
pkgname=swvkc
|
||||||
|
pkgver=gpu-dev-option
|
||||||
|
|
||||||
|
fetch() {
|
||||||
|
curl -L "https://github.com/Ella-0/swvkc/archive/gpu-dev-option.tar.gz" -o $pkgname-$pkgver.tar.gz
|
||||||
|
tar -xf $pkgname-$pkgver.tar.gz
|
||||||
|
mkdir $pkgname-$pkgver/build
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cd build
|
||||||
|
meson .. \
|
||||||
|
--buildtype=release \
|
||||||
|
--prefix=/usr
|
||||||
|
samu
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cd build
|
||||||
|
DESTDIR=$pkgdir samu install
|
||||||
|
}
|
||||||
|
|
||||||
|
license() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cat LICENSE
|
||||||
|
# cat COPYING
|
||||||
|
}
|
Loading…
Reference in a new issue