archrelease: copy trunk to extra-x86_64
[arch-packages.git] / oxygen-icons / repos / extra-any / PKGBUILD
blobf3a654dfe840c3084098d20f83bb5dc0361477f8
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
4 # Contributor: Pierre Schmitz <pierre@archlinux.de>
6 pkgbase=oxygen-icons
7 pkgname=(oxygen-icons oxygen-icons-svg)
8 pkgver=5.100.0
9 epoch=1
10 pkgrel=1
11 pkgdesc='The Oxygen Icon Theme'
12 arch=(any)
13 url='https://community.kde.org/Frameworks'
14 license=(LGPL)
15 makedepends=(extra-cmake-modules qt5-base)
16 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgbase}5-$pkgver.tar.xz{,.sig})
17 sha256sums=('0061d4cf29f37d336931267466505a39d6be78c932e8fb8eddfecb66d39701e9'
18             'SKIP')
19 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
21 build() {
22   cmake -B build -S ${pkgbase}5-$pkgver
23   cmake --build build
26 package_oxygen-icons() {
27   groups=(kf5)
29   DESTDIR="$pkgdir" cmake --install build
32 package_oxygen-icons-svg() {
33   pkgdesc='The Oxygen Icon Theme (Scalable Vector Graphics)'
35   cd ${pkgbase}5-$pkgver
36   find scalable -type f ! -name '*.sh' -exec \
37     install -D -m644 "{}" "$pkgdir"/usr/share/icons/oxygen/{} \;