[arch-commits] Commit in oxygen-icons/repos (4 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Wed Jun 5 20:08:46 UTC 2013


    Date: Wednesday, June 5, 2013 @ 22:08:46
  Author: andrea
Revision: 187657

archrelease: copy trunk to staging-any

Added:
  oxygen-icons/repos/staging-any/
  oxygen-icons/repos/staging-any/PKGBUILD
    (from rev 187656, oxygen-icons/trunk/PKGBUILD)
Deleted:
  oxygen-icons/repos/staging-i686/
  oxygen-icons/repos/staging-x86_64/

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

Copied: oxygen-icons/repos/staging-any/PKGBUILD (from rev 187656, oxygen-icons/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2013-06-05 20:08:46 UTC (rev 187657)
@@ -0,0 +1,39 @@
+# $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.10.4
+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=('8171f5a2df29731e01f7cc39a113ca0a744f673d')
+
+build() {
+	cd $srcdir
+	mkdir build
+	cd build
+	cmake ../${pkgname}-${pkgver} \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DKDE4_BUILD_TESTS=OFF \
+		-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