[arch-commits] Commit in oxygen-icons/repos (2 files)
Felix Yan
fyan at archlinux.org
Wed Mar 16 04:59:02 UTC 2016
Date: Wednesday, March 16, 2016 @ 05:59:02
Author: fyan
Revision: 261829
archrelease: copy trunk to kde-unstable-any
Added:
oxygen-icons/repos/kde-unstable-any/
oxygen-icons/repos/kde-unstable-any/PKGBUILD
(from rev 261828, oxygen-icons/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: oxygen-icons/repos/kde-unstable-any/PKGBUILD (from rev 261828, oxygen-icons/trunk/PKGBUILD)
===================================================================
--- kde-unstable-any/PKGBUILD (rev 0)
+++ kde-unstable-any/PKGBUILD 2016-03-16 04:59:02 UTC (rev 261829)
@@ -0,0 +1,45 @@
+# $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.20.0
+epoch=1
+pkgrel=1
+pkgdesc="The Oxygen Icon Theme"
+arch=('any')
+url='http://www.oxygen-icons.org/'
+license=('LGPL')
+makedepends=('extra-cmake-modules' 'qt5-base')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}5-${pkgver}.tar.xz")
+sha1sums=('8f40a33adca0e71e5ff2ba809f39d76540378c09')
+
+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