From 8e81bb1431ec6d669604d12079f59f0ca9bb1a15 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 8 Sep 2013 12:40:24 -0400 Subject: touch up maildirproc, include the docs, move from [~lukeshu] to [prc] --- pcr/maildirproc/PKGBUILD | 21 +++++++++++++++++++++ ~lukeshu/maildirproc/PKGBUILD | 17 ----------------- 2 files changed, 21 insertions(+), 17 deletions(-) create mode 100644 pcr/maildirproc/PKGBUILD delete mode 100644 ~lukeshu/maildirproc/PKGBUILD diff --git a/pcr/maildirproc/PKGBUILD b/pcr/maildirproc/PKGBUILD new file mode 100644 index 000000000..0e3becf75 --- /dev/null +++ b/pcr/maildirproc/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Luke Shumaker +# Maintainer (AUR): Mick Koch + +pkgname="maildirproc" +pkgver="0.5.0" +pkgrel="3" +pkgdesc="Sorts mail based on a Python configuration file" +arch=("any") +url="http://joel.rosdahl.net/maildirproc/" +license=("GPL") # GPLv2+ +depends=("python") +source=("http://joel.rosdahl.net/maildirproc/releases/$pkgname-$pkgver.tar.bz2") +md5sums=("eaa001f6cd1befee99528ca55da979ca") + +package() { + cd "$srcdir/$pkgname-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 + + mkdir -p "$pkgdir"/usr/share/doc/$pkgname/ + cp -r doc/* "$pkgdir"/usr/share/doc/$pkgname/ +} diff --git a/~lukeshu/maildirproc/PKGBUILD b/~lukeshu/maildirproc/PKGBUILD deleted file mode 100644 index bb98fa112..000000000 --- a/~lukeshu/maildirproc/PKGBUILD +++ /dev/null @@ -1,17 +0,0 @@ -# Maintainer: Mick Koch - -pkgname="maildirproc" -pkgver="0.5.0" -pkgrel="2" -pkgdesc="Sorts mail based on a Python configuration file" -arch=("any") -url="http://joel.rosdahl.net/maildirproc/" -license=("GPL") -depends=("python") -source=("http://joel.rosdahl.net/maildirproc/releases/$pkgname-$pkgver.tar.bz2") -md5sums=("eaa001f6cd1befee99528ca55da979ca") - -build() { - cd "$srcdir/$pkgname-$pkgver" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} -- cgit v1.2.3-54-g00ecf