Date: Friday, February 15, 2019 @ 11:31:25 Author: polyzen Revision: 432578
archrelease: copy trunk to community-any Added: alot/repos/community-any/PKGBUILD (from rev 432577, alot/trunk/PKGBUILD) Deleted: alot/repos/community-any/PKGBUILD ----------+ PKGBUILD | 105 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 54 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-02-15 11:30:58 UTC (rev 432577) +++ PKGBUILD 2019-02-15 11:31:25 UTC (rev 432578) @@ -1,51 +0,0 @@ -# Maintainer: Daniel M. Capella <poly...@archlinux.org> -# Contributor: Mark Foxwell <fastfre...@archlinux.org.uk> -# Contributor: Nicolas Pouillard [https://nicolaspouillard.fr] -# Contributor: seschwar -- contact via Arch Linux forum or AUR -# Contributor: Ian Denhardt <i...@zenhack.net> - -pkgname=alot -pkgver=0.8 -pkgrel=2 -pkgdesc='Terminal-based MUA for the notmuch mail system' -arch=(any) -url=https://github.com/pazz/alot -license=('GPL3') -depends=('desktop-file-utils' 'notmuch' 'python-configobj' 'python-gpgme' - 'python-magic' 'python-setuptools' 'python-twisted' 'python-urwid' - 'python-urwidtrees') -makedepends=('python-sphinx') -checkdepends=('python-mock') -source=("$url/archive/$pkgver/alot-$pkgver.tar.gz") -sha512sums=('3013e48b6c751bb7c52c440e8500d91addb3e3bdfc37f386cad63254490c4eb93aedca1005df06b25783277df67b8d329cc03329e9a8a1e3bbb70c055d90283d') - -# The Arch Linux package python-magic's egg calls itself "file-magic", -# as opposed to the python-magic on PyPI. -prepare() { - cd alot-$pkgver - sed -i 's/python-magic/file-magic/' setup.py -} - -build() { - cd alot-$pkgver - python setup.py build - make -C docs man -} - -check() { - cd alot-$pkgver - python setup.py test -} - -package() { - cd alot-$pkgver - python setup.py install --optimize=1 --root="$pkgdir" --skip-build - install -Dm644 -t "$pkgdir"/usr/share/man/man1 docs/build/man/alot.1 - install -Dm644 -t "$pkgdir"/usr/share/applications extra/alot*.desktop - install -Dm644 extra/completion/alot-completion.zsh \ - "$pkgdir"/usr/share/zsh/functions/_alot - install -Dm644 -t "$pkgdir"/usr/share/alot/themes \ - extra/themes/{mutt,solarized_light,solarized_dark,sup,tomorrow} -} - -# vim:set ts=2 sw=2 et: Copied: alot/repos/community-any/PKGBUILD (from rev 432577, alot/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-02-15 11:31:25 UTC (rev 432578) @@ -0,0 +1,54 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: Mark Foxwell <fastfre...@archlinux.org.uk> +# Contributor: Nicolas Pouillard [https://nicolaspouillard.fr] +# Contributor: seschwar -- contact via Arch Linux forum or AUR +# Contributor: Ian Denhardt <i...@zenhack.net> + +pkgname=alot +pkgver=0.8.1 +pkgrel=1 +pkgdesc='Terminal-based MUA for the notmuch mail system' +arch=(any) +url=https://github.com/pazz/alot +license=('GPL3') +depends=('desktop-file-utils' 'notmuch' 'python-configobj' 'python-gpgme' + 'python-magic' 'python-setuptools' 'python-twisted' 'python-urwid' + 'python-urwidtrees') +makedepends=('python-sphinx') +checkdepends=('python-mock') +source=("$url/archive/$pkgver/alot-$pkgver.tar.gz" + "alot-$pkgver.tar.gz.asc::$url/releases/download/$pkgver/$pkgver.tar.gz.asc") +sha512sums=('bca4a01636594f0e71c6ea260d74cf26e74dfd7aca1ea7801714b4aaf9602ae7737769e77e3af0363ed2701df1494e0f87ce85b58c47a6380ad1a9098f8501d4' + 'SKIP') +validpgpkeys=('B7838D65FEE80DED1DCA494D94340367D7D6C5AA') # Patrick Totzke + +# The Arch Linux package python-magic's egg calls itself "file-magic", +# as opposed to the python-magic on PyPI. +prepare() { + cd alot-$pkgver + sed -i 's/python-magic/file-magic/' setup.py +} + +build() { + cd alot-$pkgver + python setup.py build + make -C docs man +} + +check() { + cd alot-$pkgver + python setup.py test +} + +package() { + cd alot-$pkgver + python setup.py install --optimize=1 --root="$pkgdir" --skip-build + install -Dm644 -t "$pkgdir"/usr/share/man/man1 docs/build/man/alot.1 + install -Dm644 -t "$pkgdir"/usr/share/applications extra/alot*.desktop + install -Dm644 extra/completion/alot-completion.zsh \ + "$pkgdir"/usr/share/zsh/functions/_alot + install -Dm644 -t "$pkgdir"/usr/share/alot/themes \ + extra/themes/{mutt,solarized_light,solarized_dark,sup,tomorrow} +} + +# vim:set ts=2 sw=2 et: