updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / trash-cli / PKGBUILD
blobb720aaf6d3ebc607de9300f3517f7657699340a5
1 # Maintainer: Renato Garcia <fgar.renatoATgmailDOTcom>
2 pkgname=trash-cli
3 pkgver=0.11.3_r315
4 pkgrel=4
5 pkgdesc="Command line trashcan (recycle bin) interface"
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/trash-cli/"
8 license=('GPL')
9 depends=('python2' 'python-unipath>=0.2.0' 'python2-distribute')
10 source=(http://trash-cli.googlecode.com/files/${pkgname}-${pkgver/_/-}.tar.gz
11         python2.patch
12         empty_days.patch)
13 md5sums=('00654c149108fc4c522b5b008e9b8468'
14          'a187680f9f1c3f6e8730cabfff6fc9c8'
15          '60d9034aff7159ff9220a9fa890a6a9d')
17 build() {
18   cd "${srcdir}/${pkgname}-${pkgver/_/-}"
20   patch -p1 < ../python2.patch
21   patch -p1 < ../empty_days.patch
22   python2 setup.py build
25 package(){
26   cd "${srcdir}/${pkgname}-${pkgver/_/-}"
28   python2 setup.py install --root=${pkgdir}
30   cd ${pkgdir}
31   mkdir ./usr/share
32   mv ./usr/man ./usr/share/man