Date: Monday, June 9, 2014 @ 05:02:00
  Author: svenstaro
Revision: 214412

archrelease: copy trunk to testing-any

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

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

Copied: oxygen-icons/repos/testing-any/PKGBUILD (from rev 214411, 
oxygen-icons/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD                                (rev 0)
+++ testing-any/PKGBUILD        2014-06-09 03:02:00 UTC (rev 214412)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Andrea Scarpino <and...@archlinux.org>
+# Contributor: Pierre Schmitz <pie...@archlinux.de>
+
+pkgbase=oxygen-icons
+pkgname=('oxygen-icons'
+         'oxygen-icons-svg')
+pkgver=4.13.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=('ec412ae32cb7cb2a0fbd24d8c5a72c1f2d45c97a')
+
+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/{}" \;
+}

Reply via email to