desktop/trash-cli/PKGBUILD
2017-01-29 11:56:00 +00:00

22 lines
548 B
Bash

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