summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMoritz Lipp2015-06-15 20:15:07 +0200
committerMoritz Lipp2015-06-15 20:15:07 +0200
commitaafe7b4d2ae290bf0c87af9ca6afffbe527ae335 (patch)
treecba58bf24208f63f72dc6cdac03939296f4cbf9e /PKGBUILD
downloadaur-aafe7b4d2ae290bf0c87af9ca6afffbe527ae335.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ea9ac1dba71
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Kazuo Teramoto <kaz.rag at gmail.com>
+pkgname=afew-git
+pkgver=0.203.d5d0dde
+pkgrel=1
+epoch=1
+pkgdesc="afew is an initial tagging script for notmuch mail"
+arch=(any)
+url="https://github.com/teythoon/afew"
+license=('custom:BSD')
+depends=('python' 'notmuch' 'dbacl' 'python-chardet' 'python-setuptools')
+makedepends=('git')
+source=('LICENSE' 'git://github.com/teythoon/afew.git')
+md5sums=('295b245540aa61538f9a3556c4be846c' 'SKIP')
+
+pkgver() {
+ cd "$srcdir/afew"
+
+ echo "0.$(git rev-list --count HEAD).$(git describe --always)"
+}
+
+build() {
+ cd "$srcdir/afew"
+
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/afew"
+
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -D -m644 "$srcdir/LICENSE" \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: