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

Antonio Rojas arojas at archlinux.org
Sat Mar 14 09:40:02 UTC 2015


    Date: Saturday, March 14, 2015 @ 10:40:02
  Author: arojas
Revision: 233618

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

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

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

Copied: oxygen-icons/repos/kde-unstable-any/PKGBUILD (from rev 233617, oxygen-icons/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-any/PKGBUILD	                        (rev 0)
+++ kde-unstable-any/PKGBUILD	2015-03-14 09:40:02 UTC (rev 233618)
@@ -0,0 +1,43 @@
+# $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=15.03.90
+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/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('b91a58f152c51e23d356f695d1660ff5773bdb0d')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package_oxygen-icons() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}
+
+package_oxygen-icons-svg() {
+  pkgdesc="The Oxygen Icon Theme (Scalable Vector Graphics)"
+
+  cd ${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