summaryrefslogtreecommitdiffstats
path: root/abs/core/pango
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-01-20 21:12:33 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-01-20 21:12:33 (GMT)
commit680f7c2ee7d070528042dd3487f606da1b777241 (patch)
treeefb0c7bf7883cf65add7ec7c116c70cc6202f4f2 /abs/core/pango
parent4331f188ac10e36222d6de440e0b46787c561a8c (diff)
downloadlinhes_pkgbuild-680f7c2ee7d070528042dd3487f606da1b777241.zip
linhes_pkgbuild-680f7c2ee7d070528042dd3487f606da1b777241.tar.gz
linhes_pkgbuild-680f7c2ee7d070528042dd3487f606da1b777241.tar.bz2
pango: update to 1.38.1
Diffstat (limited to 'abs/core/pango')
-rw-r--r--abs/core/pango/PKGBUILD17
-rw-r--r--abs/core/pango/pango.install12
2 files changed, 16 insertions, 13 deletions
diff --git a/abs/core/pango/PKGBUILD b/abs/core/pango/PKGBUILD
index 3adc9a6..ab1f03c 100644
--- a/abs/core/pango/PKGBUILD
+++ b/abs/core/pango/PKGBUILD
@@ -2,17 +2,22 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=pango
-pkgver=1.36.8
+pkgver=1.38.1
pkgrel=1
pkgdesc="A library for layout and rendering of text"
arch=('i686' 'x86_64')
license=('LGPL')
depends=('libthai' 'cairo' 'libxft' 'harfbuzz')
-makedepends=('harfbuzz' 'fontconfig' 'cairo' 'libxft' 'libthai' 'gobject-introspection' 'help2man' 'python2')
+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=('18dbb51b8ae12bae0ab7a958e7cf3317c9acfc8a1e1103ec2f147164a0fc2d07')
+sha256sums=('1320569f6c6d75d6b66172b2d28e59c56ee864ee9df202b76799c4506a214eb7')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+}
build() {
cd ${pkgname}-${pkgver}
@@ -24,8 +29,12 @@ build() {
make
}
+check() {
+ cd ${pkgname}-${pkgver}
+ make -k check || :
+}
+
package() {
cd ${pkgname}-${pkgver}
make -j1 DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/etc/pango"
}
diff --git a/abs/core/pango/pango.install b/abs/core/pango/pango.install
index 4aa7c4d..68f7fcd 100644
--- a/abs/core/pango/pango.install
+++ b/abs/core/pango/pango.install
@@ -1,14 +1,8 @@
-post_install() {
- usr/bin/pango-querymodules >etc/pango/pango.modules
-}
-
post_upgrade() {
if [ -f usr/etc/pango/pango.modules ]; then
rm usr/etc/pango/pango.modules
fi
- post_install
-}
-
-pre_remove() {
- rm etc/pango/pango.modules
+ if [ -f etc/pango/pango.modules ]; then
+ rm etc/pango/pango.modules
+ fi
}