aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/baloo-widgets/APKBUILD
blob: 6a081dde294e54a4103067e29bde132dccca81f8 (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=baloo-widgets
pkgver=4.13.3
pkgrel=0
pkgdesc="Widgets for Baloo"
url="https://projects.kde.org/projects/kde/kdelibs/baloo-widgets"
arch="all"
license="LGPL"
depends=
depends_dev="baloo-dev"
makedepends="$depends_dev automoc4 cmake"
install=""
subpackages="$pkgname-dev"
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="0a59414e29fc71550ee6e239ec2d0bfa  baloo-widgets-4.13.3.tar.xz"
sha256sums="94ba17e9d9c1f711f9fd1fffc801d812907f078fe4d929a33c8b6c059408238a  baloo-widgets-4.13.3.tar.xz"
sha512sums="3f6d6002de309c13d5b60188898117b21c4e1fed6d646a963f82618b8652afdf1adb75d378c01c0770c3bb439ffe2e2f03dfabc724c0a6490cedb024c3749faa  baloo-widgets-4.13.3.tar.xz"