Date: Saturday, May 12, 2018 @ 20:36:50 Author: arojas Revision: 324126
archrelease: copy trunk to testing-any Added: oxygen-icons/repos/testing-any/ oxygen-icons/repos/testing-any/PKGBUILD (from rev 324125, oxygen-icons/trunk/PKGBUILD) ----------+ PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) Copied: oxygen-icons/repos/testing-any/PKGBUILD (from rev 324125, oxygen-icons/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2018-05-12 20:36:50 UTC (rev 324126) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Pierre Schmitz <pie...@archlinux.de> + +pkgbase=oxygen-icons +pkgname=(oxygen-icons oxygen-icons-svg) +pkgver=5.46.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%.*}/${pkgbase}5-$pkgver.tar.xz"{,.sig}) +sha256sums=('65adce01e76168fde8c52079c4544a570d35bf8dd0f94e99807baa6ce6823890' + 'SKIP') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <fa...@kde.org> + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../${pkgbase}5-$pkgver \ + -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/{} \; +}