summaryrefslogtreecommitdiff
path: root/manualPorts/offlineimap/Pkgfile
blob: f03c195a27952e61df0c68606b86ec3abec5a8ec (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

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
}