diff options
author | kryptxy | 2017-08-07 01:15:19 +0530 |
---|---|---|
committer | kryptxy | 2017-08-07 01:15:19 +0530 |
commit | 9c30f187ec27cea50f31d7a689614f1af84efacb (patch) | |
tree | 63caaa343e207d108b8f1d49d9dc07ae3dafa9d5 | |
download | aur-9c30f187ec27cea50f31d7a689614f1af84efacb.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7a532ef84db4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = torrench + pkgdesc = Command-line torrent search tool + pkgver = 1.0.1.20170807 + pkgrel = 1 + url = https://github.com/kryptxy/torrench + arch = any + license = GPL + depends = python-setuptools + depends = python-beautifulsoup4 + depends = python-lxml + depends = python-requests + depends = python-termcolor + depends = python-tabulate + provides = torrench + conflicts = torrench + source = torrench-1.0.1.20170807.tar.gz::https://github.com/kryptxy/torrench/archive/v1.0.1.20170807.tar.gz + md5sums = SKIP + +pkgname = torrench + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1a491e58504f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ + +# Maintainer: kryptxy <kryptxy@protonmail.com> + +pkgname=torrench +pkgver=1.0.1.20170807 +pkgrel=1 +pkgdesc="Command-line torrent search tool" +arch=('any') +url="https://github.com/kryptxy/torrench" +license=('GPL') +depends=("python-setuptools" "python-beautifulsoup4" "python-lxml" "python-requests" "python-termcolor" "python-tabulate") +provides=("torrench") +conflicts=("torrench") +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +md5sums=('SKIP') + +build() { + cd "${pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 +} |