mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-14 12:29:02 +08:00
meson check() requires ton of deps, skipped for now lot of issues building with meson, stay with configure when possible
38 lines
909 B
Bash
38 lines
909 B
Bash
pkgname=pango
|
|
pkgver=1.40.12
|
|
pkgrel=1
|
|
pkgdesc="A library for layout and rendering of text"
|
|
arch=('x86_64')
|
|
license=('LGPL')
|
|
depends=('libthai' 'cairo' 'libxft' 'harfbuzz' 'graphite')
|
|
makedepends=('harfbuzz' 'fontconfig' 'cairo' 'libxft' 'libthai' 'gobject-introspection' 'help2man')
|
|
checkdepends=('ttf-dejavu')
|
|
install=pango.install
|
|
source=(http://download.gnome.org/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
|
|
url="http://www.pango.org/"
|
|
sha256sums=('75f1a9a8e4e2b28cbc078b50c1fa927ee4ded994d1ade97c5603e2d1f3161cfc')
|
|
|
|
prepare() {
|
|
cd ${pkgname}-${pkgver}
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
rm -f pango-view/pango-view.1.in
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc \
|
|
--localstatedir=/var --with-included-modules=basic-fc
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${pkgname}-${pkgver}
|
|
make -k check || :
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make -j1 DESTDIR="${pkgdir}" install
|
|
}
|