Added swc and friends

This commit is contained in:
Ella-0 2021-04-02 16:14:25 +01:00
parent c11f6761d6
commit 5e2dcbb4e5
7 changed files with 163 additions and 0 deletions

29
pkgs/velox/build.sh Normal file
View file

@ -0,0 +1,29 @@
pkgname=velox
pkgver=master
fetch() {
curl -L "https://github.com/michaelforney/velox/archive/refs/heads/master.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
cp ../config.mk .
cp ../velox.conf .
}
build() {
cd $pkgname-$pkgver
cp ../config.mk .
cp ../velox.conf .
gmake PREFIX=/usr CC=cc
}
package() {
cd $pkgname-$pkgver
gmake install DESTDIR=$pkgdir PREFIX=/usr
install -d $pkgdir/etc
install -Dm644 velox.conf $pkgdir/etc/
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}