core/oxygen-icons/PKGBUILD
2016-04-07 20:47:40 +01:00

43 lines
885 B
Bash

# Include global configuration
source ../frameworks.conf
pkgbase=oxygen-icons
_pkgbase=oxygen-icons5
pkgname=('oxygen-icons' 'oxygen-icons-svg')
pkgver=${KFVersion}
epoch=1
pkgrel=2
arch=('x86_64')
url='http://www.oxygen-icons.org/'
license=('LGPL')
install=oxygen-icons.install
groups=('kf5')
makedepends=('cmake' 'extra-cmake-modules' 'qt5-tools')
source=("${KFServer}/${_pkgbase}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${_pkgbase}) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${_pkgbase}-${pkgver}
make
}
package_oxygen-icons() {
pkgdesc="The Oxygen Icon Theme"
cd build
make DESTDIR="$pkgdir" install
}
package_oxygen-icons-svg() {
pkgdesc="The Oxygen Icon Theme (Scalable Vector Graphics)"
cd ${_pkgbase}-${pkgver}
find scalable -type f ! -name '*.sh' -exec \
install -D -m644 "{}" "${pkgdir}/usr/share/icons/oxygen/{}" \;
}