Add pixman
This commit is contained in:
parent
37fd842bfd
commit
78c77c8c11
2 changed files with 32 additions and 0 deletions
31
pkgs/pixman/build.sh
Normal file
31
pkgs/pixman/build.sh
Normal 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
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue