[arch-commits] Commit in scim/trunk (PKGBUILD)

Gaetan Bisson bisson at nymeria.archlinux.org
Sat May 4 20:06:13 EDT 2013


    Date: Sunday, May 5, 2013 @ 02:06:12
  Author: bisson
Revision: 184248

fix libpng-1.6 regression

Modified:
  scim/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-04 22:39:42 UTC (rev 184247)
+++ PKGBUILD	2013-05-05 00:06:12 UTC (rev 184248)
@@ -5,14 +5,14 @@
 
 pkgname=scim
 pkgver=1.4.14
-pkgrel=1
+pkgrel=2
 pkgdesc='Input method user interface and development platform'
 url='http://www.scim-im.org/projects/scim'
 license=('LGPL')
 options=('!libtool')
 arch=('i686' 'x86_64')
-makedepends=('intltool')
 depends=('libltdl' 'gtk2')
+makedepends=('intltool' 'optipng')
 backup=('etc/scim/config' 'etc/scim/global')
 source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
 sha1sums=('73391be371dd7ef9f9af8b3a211e2bedec0cf71b')
@@ -21,7 +21,6 @@
 
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
-
 	./configure \
 		--prefix=/usr \
 		--sysconfdir=/etc \
@@ -32,6 +31,6 @@
 
 package() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
-
 	make DESTDIR="${pkgdir}" install
+	find "${pkgdir}" -name *.png -exec optipng {} \; # libpng-1.6 has higher standards
 }



More information about the arch-commits mailing list