aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/kde-base-artwork/APKBUILD
blob: 1b04cfa2aabbc7c653f886516afeac6773c34a6a (plain) (blame)
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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer:
pkgname=kde-base-artwork
pkgver=4.13.3
pkgrel=0
pkgdesc="artwork for KDE desktop"
url="http://www.kde.org/"
arch="noarch"
license="GPL LGPL"
depends=
depends_dev="kdelibs-dev"
makedepends="$depends_dev cmake automoc4"
install=""
subpackages=""
source="http://download.kde.org/stable/${pkgver}/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 -p "$_builddir"/build
}

build() {
	cd "$_builddir"/build
	cmake -DCMAKE_INSTALL_PREFIX=/usr \
	      -Wno-dev "$_builddir" || return 1
	make || return 1
}

package() {
	cd "$_builddir"/build
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="db31357719eb419c2da9bea80bcb0248  kde-base-artwork-4.13.3.tar.xz"
sha256sums="c89759ff99519b6aa7c5a091daa274ed1f38e979273bff2e36ec19b2444ea5ab  kde-base-artwork-4.13.3.tar.xz"
sha512sums="31b90034122914a5edde5fe82df4bb9c86aeb6489b65b680b55e8f13686daf75aec910a66f1ee251fd321605df82d3fda2f421423058455c47cf23f665d5f0da  kde-base-artwork-4.13.3.tar.xz"