Add pixman

This commit is contained in:
aheirman 2021-04-12 15:47:31 +00:00
parent 37fd842bfd
commit 78c77c8c11
2 changed files with 32 additions and 0 deletions

31
pkgs/pixman/build.sh Normal file
View file

@ -0,0 +1,31 @@
pkgname=pixman
pkgver=master
fetch() {
curl "https://gitlab.freedesktop.org/pixman/pixman/-/archive/master/pixman-master.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
mkdir $pkgname-$pkgver/build
}
build() {
cd $pkgname-$pkgver
cd build
meson .. \
--prefix=/usr \
--buildtype=release \
--libexecdir=lib
samu
}
package() {
cd $pkgname-$pkgver
cd build
DESTDIR=$pkgdir samu install
}
license() {
cd $pkgname-$pkgver
# cat LICENSE
cat COPYING
}

View file

@ -1,5 +1,6 @@
pkgname=swc
pkgver=master
deps="wld:pixman"
fetch() {
curl -L "https://github.com/michaelforney/swc/archive/refs/heads/master.tar.gz" -o $pkgname-$pkgver.tar.xz