summaryrefslogtreecommitdiff
path: root/manualPorts/offlineimap/Pkgfile
blob: 1a05dded8e1a33b81250f3a6cc05aad4a14a8c44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 python-rfc6555

name=offlineimap
version=7.3.0
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
}