2012-11-11 11:02:39 +08:00
|
|
|
pkgname=trash-cli
|
2017-01-29 19:56:00 +08:00
|
|
|
pkgver=0.17.1.14
|
|
|
|
pkgrel=1
|
2012-11-11 11:02:39 +08:00
|
|
|
pkgdesc="Command line trashcan (recycle bin) interface"
|
2017-01-29 19:56:00 +08:00
|
|
|
arch=('x86_64')
|
2012-11-11 11:02:39 +08:00
|
|
|
url="http://pypi.python.org/pypi/trash-cli/"
|
|
|
|
license=('GPL')
|
2017-01-29 19:56:00 +08:00
|
|
|
depends=('python2')
|
|
|
|
makedepends=("python2-setuptools")
|
|
|
|
source=($pkgname-$pkgver.tar.gz::https://github.com/andreafrancia/$pkgname/archive/$pkgver.tar.gz)
|
|
|
|
md5sums=('75ccadb291fdef88cd7175d609fc6409')
|
2012-11-11 11:02:39 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
python2 setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
package(){
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
python2 setup.py install --root=${pkgdir}
|
|
|
|
}
|