Date: Saturday, March 31, 2012 @ 03:10:22
  Author: andrea
Revision: 154834

archrelease: copy trunk to staging-any

Added:
  oxygen-icons/repos/staging-any/
  oxygen-icons/repos/staging-any/PKGBUILD
    (from rev 154833, oxygen-icons/trunk/PKGBUILD)

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

Copied: oxygen-icons/repos/staging-any/PKGBUILD (from rev 154833, 
oxygen-icons/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD                                (rev 0)
+++ staging-any/PKGBUILD        2012-03-31 07:10:22 UTC (rev 154834)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <and...@archlinux.org>
+# Contributor: Pierre Schmitz <pie...@archlinux.de>
+
+pkgbase=oxygen-icons
+pkgname=('oxygen-icons'
+         'oxygen-icons-svg')
+pkgver=4.8.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=('8c16ad0a660bce0a5cddca6bf16aecb65bb892ee')
+
+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