[arch-commits] Commit in openstreetmap-map-icons-svn/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 6 07:55:41 EDT 2013


    Date: Monday, May 6, 2013 @ 13:55:41
  Author: spupykin
Revision: 89966

upgpkg: openstreetmap-map-icons-svn 29562-1

upd

Modified:
  openstreetmap-map-icons-svn/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-06 10:41:42 UTC (rev 89965)
+++ PKGBUILD	2013-05-06 11:55:41 UTC (rev 89966)
@@ -3,7 +3,7 @@
 # Contributor: orbisvicis <orbisvicis at gmail dot com>
 
 pkgname=openstreetmap-map-icons-svn
-pkgver=29490
+pkgver=29562
 pkgrel=1
 pkgdesc="A set of public domain licensed map icons for general OSM use"
 arch=("any")
@@ -11,10 +11,17 @@
 license=('custom:CCPL:by-sa' 'LGPL')
 makedepends=('subversion' 'perl' 'perl-file-slurp' 'perl-image-info'
 	     'perl-xml-simple' 'perl-dbi' 'perl-xml-twig' 'imagemagick'
-	     'perl-dbd-sqlite')
+	     'perl-dbd-sqlite' 'libxslt' 'cmake' 'optipng')
 source=("$pkgname::svn+http://svn.openstreetmap.org/applications/share/map-icons/")
 md5sums=('SKIP')
 
+build() {
+  cd "${srcdir}/$pkgname"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr .
+  make
+  find -name '*.png' -exec optipng -quiet -force -fix {} \;
+}
+
 package() {
   cd "${srcdir}/$pkgname"
 



More information about the arch-commits mailing list