aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-12-17 14:29:37 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2015-12-17 15:49:14 +0100
commit32a425d29f4b695fd7c2bacb5b177307e5b6afdd (patch)
tree37ac1f20d4c16c4bfb90f7d047596a55c8753c93 /unmaintained
parentfb964bbcedb8ad0fe1795468f4a3fdd229705ac3 (diff)
downloadaports-32a425d29f4b695fd7c2bacb5b177307e5b6afdd.tar.bz2
aports-32a425d29f4b695fd7c2bacb5b177307e5b6afdd.tar.xz
unmaintained/kdegraphics-mobipocket: moved from testing
Diffstat (limited to 'unmaintained')
-rw-r--r--unmaintained/kdegraphics-mobipocket/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/unmaintained/kdegraphics-mobipocket/APKBUILD b/unmaintained/kdegraphics-mobipocket/APKBUILD
new file mode 100644
index 0000000000..72a331e273
--- /dev/null
+++ b/unmaintained/kdegraphics-mobipocket/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: k0r10n <k0r10n.dev@gmail.com>
+# Maintainer:
+pkgname=kdegraphics-mobipocket
+pkgver=4.13.3
+pkgrel=0
+pkgdesc="A collection of plugins to handle mobipocket files"
+url="https://projects.kde.org/projects/kde/kdegraphics/kdegraphics-mobipocket"
+arch="all"
+license="FDL GPL LGPL"
+depends=
+depends_dev="kdelibs-dev"
+makedepends="$depends_dev cmake automoc4"
+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 \
+ -DKDE4_BUILD_TESTS=OFF \
+ -Wno-dev "$_builddir" || return 1
+ make || return 1
+
+}
+
+package() {
+ cd "$_builddir"/build
+ make DESTDIR="$pkgdir" install || return 1
+
+}
+
+md5sums="1ded7de3d63da20a4343e29c5d068a18 kdegraphics-mobipocket-4.13.3.tar.xz"
+sha256sums="ceebf07bd3f2f55e2f790e5390f13f737cf75dbfdcec671f954d3876a1b09e1f kdegraphics-mobipocket-4.13.3.tar.xz"
+sha512sums="49ec418c7c1597d4ce125b0311e6386101ee2cdafc1978cadb36203ad73abd91987ac4461c334db99f42b20244515af68dae2ca0c1f097f5126fff529294e2ba kdegraphics-mobipocket-4.13.3.tar.xz"