summaryrefslogtreecommitdiff
path: root/~fauno/afew/PKGBUILD
blob: 1256ad4d3d56bb822e623ca420ef2923fa592832 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Kazuo Teramoto <kaz.rag at gmail.com>
pkgname=afew
pkgver=2012.07.11
_gitver=20120711
pkgrel=1
pkgdesc="afew is an initial tagging script for notmuch mail"
arch=(any)
url="https://github.com/teythoon/afew"
license=('custom:BSD')
depends=('python2' 'notmuch' 'dbacl')
source=("https://repo.parabolagnulinux.org/other/${pkgname}-${_gitver}-${pkgrel}-any.src.tar.gz"
        'LICENSE')

build() {
  cd "$srcdir/$pkgname"

  python2 setup.py build
}

package() {
  cd "$srcdir/$pkgname"
  python2 setup.py install --prefix="$pkgdir/usr"

  install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et:
md5sums=('99e501fb8f99ec58eccf8c08d572dab2'
         '295b245540aa61538f9a3556c4be846c')