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

Felix Yan fyan at archlinux.org
Thu Jan 15 10:27:38 UTC 2015


    Date: Thursday, January 15, 2015 @ 11:27:37
  Author: fyan
Revision: 229032

archrelease: copy trunk to testing-any

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

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

Copied: oxygen-icons/repos/testing-any/PKGBUILD (from rev 229031, oxygen-icons/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2015-01-15 10:27:37 UTC (rev 229032)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgbase=oxygen-icons
+pkgname=('oxygen-icons'
+         'oxygen-icons-svg')
+pkgver=14.12.1
+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/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('602b1f4911914e77bb1e6f17ced9b8c5e59e2900')
+
+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