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

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 20 07:57:09 EDT 2013


    Date: Monday, May 20, 2013 @ 13:57:09
  Author: spupykin
Revision: 91242

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

upd

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

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-20 11:40:27 UTC (rev 91241)
+++ PKGBUILD	2013-05-20 11:57:09 UTC (rev 91242)
@@ -3,8 +3,8 @@
 # Contributor: orbisvicis <orbisvicis at gmail dot com>
 
 pkgname=openstreetmap-map-icons-svn
-pkgver=29562
-pkgrel=2
+pkgver=29599
+pkgrel=1
 pkgdesc="A set of public domain licensed map icons for general OSM use"
 arch=("any")
 url="http://wiki.openstreetmap.org/wiki/Map_Icons"
@@ -19,7 +19,6 @@
   cd "${srcdir}/$pkgname"
   cmake -DCMAKE_INSTALL_PREFIX=/usr .
   make
-  find -name '*.png' -exec optipng -quiet -force -fix {} \;
 }
 
 package() {
@@ -49,4 +48,7 @@
   install -dm755 "${pkgdir}/usr/share/licenses/${pkgname%-svn}/svg-twotone/"
   install -Dm644 "svg-twotone/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname%-svn}/svg-twotone/";
   # Many included svg/png images contain licensing metadata
+
+  # fix broken icons
+  find $pkgdir -name '*.png' -exec optipng -quiet -force -fix {} \;
 }



More information about the arch-commits mailing list