core/oxygen-icons/PKGBUILD

42 lines
856 B
Bash
Raw Normal View History

2013-12-18 02:36:04 +08:00
# Include global configuration
2015-11-14 05:47:05 +08:00
source ../frameworks.conf
2010-05-21 07:48:47 +08:00
pkgbase=oxygen-icons
2015-11-14 05:47:05 +08:00
_pkgbase=oxygen-icons5
2011-07-23 02:02:15 +08:00
pkgname=('oxygen-icons' 'oxygen-icons-svg')
2015-11-14 05:47:05 +08:00
pkgver=${KFVersion}
epoch=1
2017-04-12 05:22:44 +08:00
pkgrel=1
2015-11-14 05:47:05 +08:00
arch=('x86_64')
url='http://www.oxygen-icons.org/'
license=('LGPL')
groups=('kf5')
2016-01-09 08:06:52 +08:00
makedepends=('cmake' 'extra-cmake-modules' 'qt5-tools')
2015-11-14 05:47:05 +08:00
source=("${KFServer}/${_pkgbase}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${_pkgbase}) )
prepare() {
2015-11-14 05:47:05 +08:00
mkdir -p build
}
2010-07-25 03:36:05 +08:00
build() {
2015-11-14 05:47:05 +08:00
cd build
cmake_kf5 ../${_pkgbase}-${pkgver}
make
2010-05-21 07:48:47 +08:00
}
package_oxygen-icons() {
2015-11-14 05:47:05 +08:00
pkgdesc="The Oxygen Icon Theme"
cd build
make DESTDIR="$pkgdir" install
2010-05-21 07:48:47 +08:00
}
package_oxygen-icons-svg() {
2015-11-14 05:47:05 +08:00
pkgdesc="The Oxygen Icon Theme (Scalable Vector Graphics)"
2013-12-17 20:32:36 +08:00
2015-11-14 05:47:05 +08:00
cd ${_pkgbase}-${pkgver}
find scalable -type f ! -name '*.sh' -exec \
install -D -m644 "{}" "${pkgdir}/usr/share/icons/oxygen/{}" \;
}