Date: Tuesday, May 29, 2012 @ 18:07:30
  Author: andrea
Revision: 160078

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

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

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

Copied: oxygen-icons/repos/kde-unstable-any/PKGBUILD (from rev 160077, 
oxygen-icons/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-any/PKGBUILD                           (rev 0)
+++ kde-unstable-any/PKGBUILD   2012-05-29 22:07:30 UTC (rev 160078)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <[email protected]>
+# Contributor: Pierre Schmitz <[email protected]>
+
+pkgbase=oxygen-icons
+pkgname=('oxygen-icons'
+         'oxygen-icons-svg')
+pkgver=4.8.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=('9f5284c72c59ac622b9ac48e2e8e2a386cdfd198')
+
+build() {
+       cd $srcdir
+       mkdir build
+       cd build
+       cmake ../${pkgname}-${pkgver} \
+               -DCMAKE_BUILD_TYPE=Release \
+               -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