34 lines
509 B
Bash
34 lines
509 B
Bash
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 \
|
|
-Dglib=enabled
|
|
samu
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
cd build
|
|
DESTDIR=$pkgdir samu install
|
|
}
|
|
|
|
backup() {
|
|
return
|
|
}
|
|
|
|
license() {
|
|
cd $pkgname-$pkgver
|
|
cat COPYING*
|
|
}
|