summaryrefslogtreecommitdiff
path: root/manualPorts/offlineimap/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'manualPorts/offlineimap/Pkgfile')
-rw-r--r--manualPorts/offlineimap/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/manualPorts/offlineimap/Pkgfile b/manualPorts/offlineimap/Pkgfile
new file mode 100644
index 0000000..f03c195
--- /dev/null
+++ b/manualPorts/offlineimap/Pkgfile
@@ -0,0 +1,22 @@
+# Description: offlineimap - sync a Maildir with an IMAP server
+# URL: http://offlineimap.org/
+# Maintainer: Erich Eckner, crux at eckner dot net
+# Depends on: python python-six asciidoc
+
+name=offlineimap
+version=7.2.1
+release=1
+source=(https://github.com/OfflineIMAP/offlineimap/archive/v${version}.tar.gz)
+
+build() {
+ cd ${name}-${version}
+ python setup.py build
+ cd docs
+ make man
+ cd ..
+ python setup.py install --root=${PKG} --optimize=1
+ install -Dm644 docs/offlineimap.1 "${PKG}"/usr/share/man/man1/offlineimap.1
+ install -Dm644 docs/offlineimapui.7 "${PKG}"/usr/share/man/man7/offlineimapui.7
+ install -Dm644 offlineimap.conf "${PKG}"/usr/share/offlineimap/offlineimap.conf
+ install -Dm644 offlineimap.conf.minimal "${PKG}"/usr/share/offlineimap/offlineimap.conf.minimal
+}