summaryrefslogtreecommitdiff
path: root/extra/scim/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/scim/PKGBUILD')
-rw-r--r--extra/scim/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/extra/scim/PKGBUILD b/extra/scim/PKGBUILD
index 679679348..c2900e866 100644
--- a/extra/scim/PKGBUILD
+++ b/extra/scim/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 184249 2013-05-05 00:06:28Z bisson $
+# $Id: PKGBUILD 185781 2013-05-18 17:19:08Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: damir <damir@archlinux.org>
# Contributor: Gan Lu <rhythm.gan@gmail.com>
pkgname=scim
pkgver=1.4.14
-pkgrel=2
+pkgrel=3
pkgdesc='Input method user interface and development platform'
url='http://www.scim-im.org/projects/scim'
license=('LGPL')
@@ -19,6 +19,10 @@ sha1sums=('73391be371dd7ef9f9af8b3a211e2bedec0cf71b')
install=install
+prepare() {
+ find -name '*.png' -exec optipng -quiet -force -fix {} +
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
@@ -32,5 +36,4 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
- find "${pkgdir}" -name *.png -exec optipng {} \; # libpng-1.6 has higher standards
}