summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMoritz Lipp2015-11-23 09:17:47 +0100
committerMoritz Lipp2015-11-23 09:17:47 +0100
commit49757fd887900b3facaf0ee498290091941d7c6d (patch)
tree0685ffde9c7fa929b16146a4a2c2f03a14b136c6 /PKGBUILD
parentaafe7b4d2ae290bf0c87af9ca6afffbe527ae335 (diff)
downloadaur-49757fd887900b3facaf0ee498290091941d7c6d.tar.gz
Add manpage
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ea9ac1dba71..4c9813de9de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Kazuo Teramoto <kaz.rag at gmail.com>
pkgname=afew-git
-pkgver=0.203.d5d0dde
+pkgver=0.237.162d9fa
pkgrel=1
epoch=1
pkgdesc="afew is an initial tagging script for notmuch mail"
@@ -8,9 +8,10 @@ arch=(any)
url="https://github.com/teythoon/afew"
license=('custom:BSD')
depends=('python' 'notmuch' 'dbacl' 'python-chardet' 'python-setuptools')
-makedepends=('git')
+makedepends=('git' 'python-sphinx')
source=('LICENSE' 'git://github.com/teythoon/afew.git')
-md5sums=('295b245540aa61538f9a3556c4be846c' 'SKIP')
+md5sums=('295b245540aa61538f9a3556c4be846c'
+ 'SKIP')
pkgver() {
cd "$srcdir/afew"
@@ -22,6 +23,8 @@ build() {
cd "$srcdir/afew"
python setup.py build
+
+ make -C docs man
}
package() {
@@ -29,6 +32,8 @@ package() {
python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m 644 docs/build/man/afew.1 "$pkgdir/usr/share/man/man1/afew.1"
+
install -D -m644 "$srcdir/LICENSE" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}