blob: 9ba50e41d7e63c58a1c0014f9cd02ff19f8e8673 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer:
pkgname=oxygen-icons
pkgver=4.13.3
pkgrel=0
pkgdesc="oxygen icon set"
url="http://www.oxygen-icons.org/"
arch="noarch"
license="LGPL"
depends=
depends_dev="cmake"
makedepends="$depends_dev automoc4"
install=""
subpackages=""
source="ftp://ftp.kde.org/pub/kde/stable/4.13.3/src/${pkgname}-${pkgver}.tar.xz"
install_if="kdebase-workspace"
_builddir="$srcdir"/${pkgname}-${pkgver}
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
mkdir "$_builddir"/build
}
build() {
cd "$_builddir"/build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
"$_builddir" || return 1
make || return 1
}
package() {
cd "$_builddir"/build
make DESTDIR="$pkgdir" install || return 1
}
md5sums="25d5e555aa82a98ee82c6ec3b23a2763 oxygen-icons-4.13.3.tar.xz"
sha256sums="1478e0224020a881bea93e7c84cde9c1592ee299333f3e762ffa8f7229641075 oxygen-icons-4.13.3.tar.xz"
sha512sums="c8b4c97d714190a1b02b75d4980aab62d4d686d0a9b3fc886c7d89de6f9478f0b4572c3a4d890304e1d51a4dd2464c1cd59e7c9f92cee02a3c866110c2bb2147 oxygen-icons-4.13.3.tar.xz"
|