summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-10-11 18:21:17 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-10-11 18:21:17 -0500
commitffdf549e56bd5631751d64708b143852e3ec2b1e (patch)
treee255a6838bac69583f6d39656e5b2a9f5861aa6e
parentd59bcf69eec445a54d9b96272dc1eceb49ac26b9 (diff)
downloadpackages-ffdf549e56bd5631751d64708b143852e3ec2b1e.tar.gz
packages-ffdf549e56bd5631751d64708b143852e3ec2b1e.tar.bz2
packages-ffdf549e56bd5631751d64708b143852e3ec2b1e.tar.xz
packages-ffdf549e56bd5631751d64708b143852e3ec2b1e.zip
user/akonadi-mime: new package
-rw-r--r--user/akonadi-mime/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/user/akonadi-mime/APKBUILD b/user/akonadi-mime/APKBUILD
new file mode 100644
index 000000000..d91c8fcef
--- /dev/null
+++ b/user/akonadi-mime/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=akonadi-mime
+pkgver=17.08.1
+pkgrel=0
+pkgdesc="Libraries to implement basic MIME message handling"
+url="https://www.kde.org/"
+arch="all"
+license="LGPL-2.1"
+depends=""
+depends_dev="qt5-qtbase-dev kmime-dev kdbusaddons-dev kio-dev kitemmodels-dev
+ akonadi-dev kconfig-dev kxmlgui-dev"
+makedepends="$depends_dev cmake extra-cmake-modules libxslt-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-lang"
+source="http://download.kde.org/stable/applications/$pkgver/src/akonadi-mime-$pkgver.tar.xz"
+builddir="$srcdir/akonadi-mime-$pkgver"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="6d60495fb19772b91993472b6b09a2582b8ee2196cee1a6d1c131bbe9249a066e39d390fb5c7b9f9c2766bf900955a5878dcfde65ab74d495b44f877d5828b5f akonadi-mime-17.08.1.tar.xz"