iglunix/gui/cairo/build.sh

35 lines
509 B
Bash
Raw Normal View History

2021-02-23 16:17:40 +00:00
pkgname=cairo
pkgver=master
fetch() {
curl "https://gitlab.freedesktop.org/cairo/cairo/-/archive/master/cairo-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 .. \
--buildtype=release \
--prefix=/usr \
--libexecdir=lib \
2021-12-31 12:24:33 +00:00
-Dglib=enabled
2021-02-23 16:17:40 +00:00
samu
}
package() {
cd $pkgname-$pkgver
cd build
DESTDIR=$pkgdir samu install
}
2021-12-31 12:24:33 +00:00
backup() {
return
}
2021-02-23 16:17:40 +00:00
license() {
cd $pkgname-$pkgver
cat COPYING*
}