blob: e53cc88deff882bc7acef1b4adef472c93b8f592 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
pkgname="maildirproc"
pkgver="1.0.1"
pkgrel="1"
pkgdesc="A Maildir-based mail filter"
arch=('any')
url="http://joel.rosdahl.net/maildirproc/"
license=("GPL") # GPLv2+
depends=("python")
source=("https://pypi.python.org/packages/source/${pkgname:0:1}/${pkgname}/${pkgname}-${pkgver}a.tar.bz2")
md5sums=('3dab506996dc7218d9aace5fda08d412')
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/
}
|