iglunix/gui/pango/build.sh

47 lines
773 B
Bash
Raw Normal View History

2021-12-26 12:40:14 +00:00
pkgname=pango
_pkgver=1.48
pkgver=$_pkgver.10
fetch() {
curl -L "https://download.gnome.org/sources/pango/$_pkgver/pango-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
mkdir $pkgname-$pkgver/build
cd $pkgname-$pkgver
rm -rf subprojects
: > tests/meson.build
: > examples/meson.build
: > docs/meson.build
patch -p1 < ../../no-fribidi.patch
}
build() {
cd $pkgname-$pkgver
cd build
meson .. \
--buildtype=release \
--prefix=/usr \
--libexecdir=lib \
-Dgir=false \
-Dgtk_doc=false \
-Dxft=disabled \
-Dintrospection=disabled \
-Dinstall_tests=false
samu
}
package() {
cd $pkgname-$pkgver
cd build
DESTDIR=$pkgdir samu install
}
backup() {
return
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}