aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/kde-baseapps/APKBUILD
blob: 818ccd8ad2060536ff42f57d3ba66ce5c15ba2d5 (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
# Contributor: k0r10n <k0r10n.dev@gmail.com>
# Maintainer:
pkgname=kde-baseapps
pkgver=4.13.3
pkgrel=0
pkgdesc="Dolphin (file manager) and Konqueror (web browser)"
url="http://www.kde.org/"
arch="all"
license="GPL"
depends=
depends_dev="kactivities-dev kfilemetadata-dev baloo-dev baloo-widgets-dev"
makedepends="$depends_dev automoc4 cmake"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz"

_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 \
	      -DCMAKE_BUILD_TYPE=Release \
	      -Wno-dev "$_builddir" || return 1
	make || return 1
}

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

md5sums="aaee916bfc87b618f9305d9a4bcefafb  kde-baseapps-4.13.3.tar.xz"
sha256sums="427164598d3a33ce18056af11073e46510e093eb30f8ce4854c4fa0abc303804  kde-baseapps-4.13.3.tar.xz"
sha512sums="c6d54a17abf00f414d1f2b932796ca400327ad2b5e8c17838bdddda2550c81725d0f7aa6fff1ffdbe0d3e07af6ec7fafb6a62085a26a03e76bcf0ec016690eed  kde-baseapps-4.13.3.tar.xz"