[arch-commits] Commit in oxygen-icons/repos (testing-any testing-any/PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Tue Oct 2 18:50:59 UTC 2012


    Date: Tuesday, October 2, 2012 @ 14:50:59
  Author: andrea
Revision: 167562

archrelease: copy trunk to testing-any

Added:
  oxygen-icons/repos/testing-any/
  oxygen-icons/repos/testing-any/PKGBUILD
    (from rev 167561, oxygen-icons/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: oxygen-icons/repos/testing-any/PKGBUILD (from rev 167561, oxygen-icons/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2012-10-02 18:50:59 UTC (rev 167562)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgbase=oxygen-icons
+pkgname=('oxygen-icons'
+         'oxygen-icons-svg')
+pkgver=4.9.2
+pkgrel=1
+pkgdesc="The Oxygen Icon Theme"
+arch=('any')
+url='http://www.oxygen-icons.org/'
+license=('LGPL')
+makedepends=('cmake' 'automoc4')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('266e5c2f50b1f7375374fad043db9e2ecb54baab')
+
+build() {
+	cd $srcdir
+	mkdir build
+	cd build
+	cmake ../${pkgname}-${pkgver} \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_INSTALL_PREFIX=/usr
+	make
+}
+
+package_oxygen-icons() {
+	cd $srcdir/build
+	make DESTDIR=$pkgdir install
+}
+
+package_oxygen-icons-svg() {
+	pkgdesc="The Oxygen Icon Theme (Scalable Vector Graphics)"
+	cd $srcdir/${pkgbase}-${pkgver}
+	find scalable -type f ! -name '*.sh' -exec \
+		install -D -m644 "{}" "${pkgdir}/usr/share/icons/oxygen/{}" \;
+}




More information about the arch-commits mailing list