iglunix/gui/swc/build.sh

27 lines
437 B
Bash
Raw Normal View History

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