iglunix/old/swc/build.sh
2022-08-29 19:06:38 +02:00

26 lines
461 B
Bash

pkgname=swc
deps="wld:pixman"
pkgver=intel-tiling
fetch() {
curl -L "https://github.com/michaelforney/swc/archive/refs/heads/intel-tiling.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
cp ../config.mk .
}
build() {
cd $pkgname-$pkgver
cp ../config.mk .
bad --gmake gmake PREFIX=/usr CC=cc
}
package() {
cd $pkgname-$pkgver
bad --gmake gmake install DESTDIR=$pkgdir PREFIX=/usr
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}