core/pango/PKGBUILD

38 lines
908 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=pango
2015-12-17 18:29:35 +08:00
pkgver=1.38.1
2016-02-14 09:34:26 +08:00
pkgrel=3
2010-03-14 23:48:48 +08:00
pkgdesc="A library for layout and rendering of text"
arch=('x86_64')
2010-03-14 23:48:48 +08:00
license=('LGPL')
2016-02-14 09:34:26 +08:00
depends=('libthai' 'cairo' 'libxft' 'harfbuzz' 'graphite')
2015-12-17 18:29:35 +08:00
makedepends=('harfbuzz' 'fontconfig' 'cairo' 'libxft' 'libthai' 'gobject-introspection' 'help2man')
checkdepends=('ttf-dejavu')
2010-03-14 23:48:48 +08:00
install=pango.install
2015-12-17 18:29:35 +08:00
source=(http://download.gnome.org/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
2010-03-14 23:48:48 +08:00
url="http://www.pango.org/"
2015-12-17 18:29:35 +08:00
sha256sums=('1320569f6c6d75d6b66172b2d28e59c56ee864ee9df202b76799c4506a214eb7')
prepare() {
cd ${pkgname}-${pkgver}
}
2010-03-14 23:48:48 +08:00
build() {
2015-12-17 18:29:35 +08:00
cd ${pkgname}-${pkgver}
rm -f pango-view/pango-view.1.in
2011-09-25 06:04:42 +08:00
2015-12-17 18:29:35 +08:00
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --with-included-modules=basic-fc
2010-10-09 08:34:49 +08:00
make
2011-09-25 06:04:42 +08:00
}
2015-12-17 18:29:35 +08:00
check() {
cd ${pkgname}-${pkgver}
make -k check || :
}
2011-09-25 06:04:42 +08:00
package() {
2015-12-17 18:29:35 +08:00
cd ${pkgname}-${pkgver}
make -j1 DESTDIR="${pkgdir}" install
2010-03-14 23:48:48 +08:00
}