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

Andrea Scarpino andrea at nymeria.archlinux.org
Sat Mar 8 08:31:06 UTC 2014


    Date: Saturday, March 8, 2014 @ 09:31:06
  Author: andrea
Revision: 207167

archrelease: copy kde-unstable to kde-unstable-any

Added:
  oxygen-icons/repos/kde-unstable-any/
  oxygen-icons/repos/kde-unstable-any/PKGBUILD
    (from rev 207166, oxygen-icons/kde-unstable/PKGBUILD)

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

Copied: oxygen-icons/repos/kde-unstable-any/PKGBUILD (from rev 207166, oxygen-icons/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-any/PKGBUILD	                        (rev 0)
+++ kde-unstable-any/PKGBUILD	2014-03-08 08:31:06 UTC (rev 207167)
@@ -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.12.80
+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/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('5158058b266e6d2489685d9d80108516dbe375fd')
+
+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