[arch-commits] Commit in oxygen-icons/kde-unstable (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Mon Jun 15 02:00:36 EDT 2009


    Date: Monday, June 15, 2009 @ 02:00:36
  Author: pierre
Revision: 42532

add separate package for svg icons

Modified:
  oxygen-icons/kde-unstable/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-06-15 05:59:28 UTC (rev 42531)
+++ PKGBUILD	2009-06-15 06:00:36 UTC (rev 42532)
@@ -1,7 +1,9 @@
 # $Id: $
 # Maintainer: Pierre Schmitz <pierre at archlinux.de>
 
-pkgname=oxygen-icons
+pkgbase=oxygen-icons
+pkgname=('oxygen-icons'
+         'oxygen-icons-svg')
 pkgver=4.2.91svn979380
 pkgrel=1
 pkgdesc="The Oxygen Icon Theme"
@@ -20,5 +22,17 @@
 		-DCMAKE_BUILD_TYPE=Release \
 		-DCMAKE_INSTALL_PREFIX=/usr
 	make
+}
+
+package_oxygen-icons() {
+	cd $srcdir/build
 	make DESTDIR=$pkgdir install
 }
+
+package_oxygen-icons-svg() {
+	pkgdesc="${pkgdesc} (Scalable Vector Graphics)"
+	cd $srcdir/${pkgname}-${pkgver}
+	for i in $(find scalable -type f ! -name '*.sh'); do
+		install -D -m644 "${i}" "${pkgdir}/usr/share/icons/oxygen/${i}"
+	done
+}
\ No newline at end of file



More information about the arch-commits mailing list