mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
37 lines
889 B
Bash
37 lines
889 B
Bash
# $Id: $
|
|
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
|
|
|
pkgbase=oxygen-icons
|
|
pkgname=('oxygen-icons'
|
|
'oxygen-icons-svg')
|
|
pkgver=4.3.2
|
|
pkgrel=1
|
|
pkgdesc="The Oxygen Icon Theme"
|
|
arch=('any')
|
|
url='http://www.oxygen-icons.org/'
|
|
license=('LGPL')
|
|
makedepends=('pkgconfig' 'cmake' 'automoc4')
|
|
source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('6f5b700a65720f44d895a10049bbc05c')
|
|
|
|
build() {
|
|
cd $srcdir
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package_oxygen-icons() {
|
|
cd $srcdir/build
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|
|
package_oxygen-icons-svg() {
|
|
pkgdesc="The Oxygen Icon Theme (Scalable Vector Graphics)"
|
|
cd $srcdir/${pkgname}-${pkgver}
|
|
find scalable -type f ! -name '*.sh' -exec \
|
|
install -D -m644 "{}" "${pkgdir}/usr/share/icons/oxygen/{}" \;
|
|
}
|