core/pango/PKGBUILD

38 lines
909 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=pango
2018-01-21 04:20:14 +08:00
pkgver=1.40.14
pkgrel=1
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/"
2018-01-21 04:20:14 +08:00
sha256sums=('90af1beaa7bf9e4c52db29ec251ec4fd0a8f2cc185d521ad1f88d01b3a6a17e3')
2015-12-17 18:29:35 +08:00
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
}