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

Antonio Rojas arojas at archlinux.org
Sun Dec 10 18:44:05 UTC 2017


    Date: Sunday, December 10, 2017 @ 18:44:04
  Author: arojas
Revision: 312139

archrelease: copy trunk to testing-any

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

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

Copied: oxygen-icons/repos/testing-any/PKGBUILD (from rev 312138, oxygen-icons/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2017-12-10 18:44:04 UTC (rev 312139)
@@ -0,0 +1,47 @@
+# $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=5.41.0
+epoch=1
+pkgrel=1
+pkgdesc="The Oxygen Icon Theme"
+arch=('any')
+url='https://community.kde.org/Frameworks'
+license=('LGPL')
+makedepends=('extra-cmake-modules' 'qt5-base')
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}5-${pkgver}.tar.xz"{,.sig})
+sha256sums=('61c8fcda873a1fa98d270f6c25a85677b1beaf233cb08b741d675fc2bf93ecfe'
+            'SKIP')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../${pkgbase}5-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package_oxygen-icons() {
+  groups=('kf5')
+
+  cd build
+  make DESTDIR="$pkgdir" install
+}
+
+package_oxygen-icons-svg() {
+  pkgdesc="The Oxygen Icon Theme (Scalable Vector Graphics)"
+
+  cd ${pkgbase}5-${pkgver}
+  find scalable -type f ! -name '*.sh' -exec \
+    install -D -m644 "{}" "${pkgdir}/usr/share/icons/oxygen/{}" \;
+}



More information about the arch-commits mailing list