[arch-commits] Commit in afew/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 07:33:46 UTC 2019
Date: Monday, November 4, 2019 @ 07:33:46
Author: felixonmars
Revision: 523516
archrelease: copy trunk to community-staging-any
Added:
afew/repos/community-staging-any/
afew/repos/community-staging-any/PKGBUILD
(from rev 523515, afew/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: afew/repos/community-staging-any/PKGBUILD (from rev 523515, afew/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 07:33:46 UTC (rev 523516)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Lucas Hoffmann
+# Contributor: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Contributor: Kazuo Teramoto <kaz.rag at gmail.com>
+
+pkgname=afew
+pkgver=2.0.0
+pkgrel=2
+pkgdesc='Initial tagging script for notmuch mail'
+arch=(any)
+url=https://github.com/afewmail/afew
+license=('custom:BSD')
+depends=('notmuch' 'python-chardet' 'python-dkim' 'python-setuptools')
+makedepends=('python-setuptools-scm' 'python-sphinx')
+source=("https://files.pythonhosted.org/packages/source/a/afew/afew-$pkgver.tar.gz")
+sha256sums=('1a685b97ddeba66d4af5ee9b2b76b1a8bccccd3d10bc285c8b82886a0328c048')
+
+build() {
+ cd afew-$pkgver
+ python setup.py build
+ python setup.py build_sphinx -b man
+}
+
+check() {
+ cd afew-$pkgver
+ python -m unittest discover afew/tests
+}
+
+package() {
+ cd afew-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 -t "$pkgdir"/usr/share/man/man1 build/sphinx/man/afew.1
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/afew LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list