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

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 6 06:41:31 EDT 2013


    Date: Monday, May 6, 2013 @ 12:41:31
  Author: spupykin
Revision: 89964

upgpkg: phpldapadmin 1.2.3-2

upd

Modified:
  phpldapadmin/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-06 10:41:26 UTC (rev 89963)
+++ PKGBUILD	2013-05-06 10:41:31 UTC (rev 89964)
@@ -3,17 +3,23 @@
 
 pkgname=phpldapadmin
 pkgver=1.2.3
-pkgrel=1
+pkgrel=2
 pkgdesc="A PHP and hence web-based tool to administrate LDAP over the WWW"
 arch=('any')
 url="http://phpldapadmin.sourceforge.net/"
 license=('GPL')
 depends=('libldap' 'php' 'php-ldap')
+makedepends=('optipng')
 backup=("etc/webapps/phpldapadmin/.htaccess"
 	"etc/webapps/phpldapadmin/config.php")
 source=(http://downloads.sourceforge.net/project/phpldapadmin/phpldapadmin-php5/$pkgver/phpldapadmin-$pkgver.tgz)
 md5sums=('59a49054039ceb852c2da377d8742360')
 
+build() {
+  cd $srcdir/phpldapadmin-${pkgver}/
+  find -name '*.png' -exec optipng -quiet -force -fix {} \;
+}
+
 package() {
   _instdir=$pkgdir/usr/share/webapps/phpldapadmin
   mkdir -p ${_instdir} $pkgdir/etc/webapps/phpldapadmin



More information about the arch-commits mailing list