diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-08 12:40:24 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-08 12:51:42 -0400 |
commit | 8e81bb1431ec6d669604d12079f59f0ca9bb1a15 (patch) | |
tree | 33ae1d5cca09ed4abfa631e152daea884644e410 | |
parent | 1a6f557d26bba9f72f5250f2c98aeb7d4e132d7a (diff) |
touch up maildirproc, include the docs, move from [~lukeshu] to [prc]
-rw-r--r-- | pcr/maildirproc/PKGBUILD (renamed from ~lukeshu/maildirproc/PKGBUILD) | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/~lukeshu/maildirproc/PKGBUILD b/pcr/maildirproc/PKGBUILD index bb98fa112..0e3becf75 100644 --- a/~lukeshu/maildirproc/PKGBUILD +++ b/pcr/maildirproc/PKGBUILD @@ -1,17 +1,21 @@ -# Maintainer: Mick Koch <kchmck@gmail.com> +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> +# Maintainer (AUR): Mick Koch <kchmck@gmail.com> pkgname="maildirproc" pkgver="0.5.0" -pkgrel="2" +pkgrel="3" pkgdesc="Sorts mail based on a Python configuration file" arch=("any") url="http://joel.rosdahl.net/maildirproc/" -license=("GPL") +license=("GPL") # GPLv2+ depends=("python") source=("http://joel.rosdahl.net/maildirproc/releases/$pkgname-$pkgver.tar.bz2") md5sums=("eaa001f6cd1befee99528ca55da979ca") -build() { +package() { cd "$srcdir/$pkgname-$pkgver" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python setup.py install --root="$pkgdir" --optimize=1 + + mkdir -p "$pkgdir"/usr/share/doc/$pkgname/ + cp -r doc/* "$pkgdir"/usr/share/doc/$pkgname/ } |