aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ebook-tools
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/ebook-tools
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/ebook-tools')
-rw-r--r--unmaintained/ebook-tools/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/unmaintained/ebook-tools/APKBUILD b/unmaintained/ebook-tools/APKBUILD
new file mode 100644
index 0000000000..2ca1cf67b6
--- /dev/null
+++ b/unmaintained/ebook-tools/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: k0r10n <k0r10n.dev@gmail.com>
+# Maintainer:
+pkgname=ebook-tools
+pkgver=0.2.2
+pkgrel=1
+pkgdesc="Tools for accessing and converting various ebook file formats"
+url="http://sourceforge.net/projects/ebook-tools/"
+arch="x86 x86_64"
+license="MIT"
+depends=
+depends_dev="libxml2-dev libzip-dev"
+makedepends="$depends_dev cmake pkgconfig"
+install=""
+subpackages="$pkgname-dev"
+source="http://downloads.sourceforge.net/project/ebook-tools/ebook-tools/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+
+_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_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ ../ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"/build
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="67bce67ceb72dcc3578d6a81ef92b29b ebook-tools-0.2.2.tar.gz"
+sha256sums="cbc35996e911144fa62925366ad6a6212d6af2588f1e39075954973bbee627ae ebook-tools-0.2.2.tar.gz"
+sha512sums="b4518249835ed7cc672392bf2f8b1c62bc218e41c53663bb26ab34c9e43a99b6b7ae794babdb4bd775e467bb17918703a66ee57c8cf94cb7afc4ba2a7f74816a ebook-tools-0.2.2.tar.gz"