diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-03-13 20:24:03 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-03-13 20:24:03 +0100 |
commit | 4278f7e744918e6ef2e4eec2e8ee8485260163d7 (patch) | |
tree | af7abeac7103a3568cb38bfcd9e7dd18f291f3af /main/offlineimap | |
parent | 2016bb19c32399d9089e9153ec242f109001f63d (diff) | |
download | aports-4278f7e744918e6ef2e4eec2e8ee8485260163d7.tar.bz2 aports-4278f7e744918e6ef2e4eec2e8ee8485260163d7.tar.xz |
main/offlineimap: upgrade to 6.7.0
Diffstat (limited to 'main/offlineimap')
-rw-r--r-- | main/offlineimap/APKBUILD | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/main/offlineimap/APKBUILD b/main/offlineimap/APKBUILD index 6f8cc8f7fa..1f44c51684 100644 --- a/main/offlineimap/APKBUILD +++ b/main/offlineimap/APKBUILD @@ -1,30 +1,21 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Contributor: Peter Bui <pnutzh4x0r@gmail.com> # Maintainer: Peter Bui <pnutzh4x0r@gmail.com> pkgname=offlineimap -pkgver=6.6.1 +pkgver=6.7.0 pkgrel=0 pkgdesc="Synchronizes emails between two repositories" -url="http://offlineimap.org/" +url="http://www.offlineimap.org" arch="noarch" license="GPL2+" depends="python" -depends_dev="python-dev" -makedepends="$depends_dev asciidoc" +depends_dev="" +makedepends="python-dev asciidoc" install="" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/OfflineIMAP/${pkgname}/archive/v${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 @@ -35,13 +26,21 @@ build() { package() { cd "$_builddir" - python setup.py install --root="${pkgdir}" --optimize=1 || return 1 - install -Dm644 docs/offlineimap.1 "${pkgdir}"/usr/share/man/man1/offlineimap.1 || return 1 - install -Dm644 docs/offlineimapui.7 "${pkgdir}"/usr/share/man/man7/offlineimapui.7 || return 1 - install -Dm644 offlineimap.conf "${pkgdir}"/usr/share/offlineimap/offlineimap.conf || return 1 - install -Dm644 offlineimap.conf.minimal "${pkgdir}"/usr/share/offlineimap/offlineimap.conf.minimal || return 1 + python setup.py install --root="${pkgdir}" \ + --optimize=1 || return 1 + + for man in docs/*.?; do + install -Dm644 "$man" \ + "$pkgdir"/usr/share/man/man${man##*.}/${man##*/} || return 1 + done + + mkdir -p "$pkgdir"/usr/share/doc/$pkgname/examples/ + install -m644 README.md TODO.rst MAINTAINERS.rst Changelog.md \ + "$pkgdir"/usr/share/doc/$pkgname/ || return 1 + install -m644 offlineimap.conf* \ + "$pkgdir"/usr/share/doc/$pkgname/examples/ || return 1 } -md5sums="cbf310ad293141d7ee944e541d43043f offlineimap-6.6.1.tar.gz" -sha256sums="af3fd47ba087180dc0e8d2b64cf358ce7f6fe49732d13b6fcce82853d0004bb0 offlineimap-6.6.1.tar.gz" -sha512sums="a8b61228baac3bf50781f31c108441998af2fa81b15f88f28a4110d316f56813815a665249d4e37817c4441648539ebc495ea2b4766a2379a7f8368c2872829f offlineimap-6.6.1.tar.gz" +md5sums="91b92e3ee0e89290c90731e551c894aa offlineimap-6.7.0.tar.gz" +sha256sums="c446fb31bdca90c7db4146b918ad3fa05f6df5362a4cc961df6a7727a8aac210 offlineimap-6.7.0.tar.gz" +sha512sums="aa8149d140a9fc44a755c7dd202a6adcc291351d3b87999139816874266a83c1b7492471cae1bede7ac5a907c3b9dfb8b4dc78871ec796172257a69f9e11520e offlineimap-6.7.0.tar.gz" |