aboutsummaryrefslogtreecommitdiffstats
path: root/testing/baloo-widgets/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/baloo-widgets/APKBUILD')
-rw-r--r--testing/baloo-widgets/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/baloo-widgets/APKBUILD b/testing/baloo-widgets/APKBUILD
new file mode 100644
index 0000000000..6a081dde29
--- /dev/null
+++ b/testing/baloo-widgets/APKBUILD
@@ -0,0 +1,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"