aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/getmail/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/getmail/APKBUILD b/testing/getmail/APKBUILD
new file mode 100644
index 0000000000..f29156c177
--- /dev/null
+++ b/testing/getmail/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=getmail
+pkgver=4.26.0
+pkgrel=0
+pkgdesc="POP3, IMAP4, and SDPS mail retriever with Maildir delivery"
+url="http://pyropus.ca/software/getmail/"
+arch="noarch"
+license="GPL2"
+depends=""
+depends_dev=""
+makedepends="python-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://pyropus.ca/software/getmail/old-versions/$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
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="a45622b355b649071a337c661533453a getmail-4.26.0.tar.gz"