diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0ec88de9ffd8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +pkgname=pango-ubuntu +_pkgbase=pango +pkgver=1.40.0 +pkgrel=1 +pkgdesc="A library for layout and rendering of text (for compat with cairo-ubuntu, fontconfig-ubuntu)" +arch=('i686' 'x86_64') +license=('LGPL') +depends=('libthai' 'cairo-ubuntu' 'libxft' 'harfbuzz') +provides=('pango=$pkgver') +replaces=('pango') +conflicts=('pango') +makedepends=('harfbuzz' 'fontconfig-ubuntu' 'cairo-ubuntu' 'libxft' 'libthai' 'gobject-introspection' 'help2man') +checkdepends=('ttf-dejavu') +install=pango.install +source=(http://ftp.gnome.org/pub/GNOME/sources//${_pkgbase}/${pkgver:0:4}/${_pkgbase}-${pkgver}.tar.xz) +url="http://www.pango.org/" +sha256sums=('da17985df314cb07d066ab5424f59c21ce973ece05b7de4df04d798ec8511c8b') + +build() { + cd ${_pkgbase}-${pkgver} + + rm -f pango-view/pango-view.1.in + + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --with-included-modules=basic-fc + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +check() { + cd ${_pkgbase}-${pkgver} + make -k check || : +} + +package() { + cd ${_pkgbase}-${pkgver} + make -j1 DESTDIR="${pkgdir}" install +} |