diff options
author | Marcin Wieczorek | 2016-05-13 17:38:31 +0200 |
---|---|---|
committer | Marcin Wieczorek | 2016-05-13 17:38:31 +0200 |
commit | 1f943f0c980a4b4f90b210be57ca79f05d8ce6a2 (patch) | |
tree | 937ecf526ea964039e2a2929255b5ffbe34e3e4a | |
parent | 0af1cc7eebd6bb26d8a71ccd77ba6305cd0e5b9e (diff) | |
download | aur-1f943f0c980a4b4f90b210be57ca79f05d8ce6a2.tar.gz |
Update to v0.2.8
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 21 |
3 files changed, 21 insertions, 11 deletions
@@ -1,14 +1,16 @@ pkgbase = pirate-get pkgdesc = A command line interface for the Pirate Bay - pkgver = 0.2.4 + pkgver = 0.2.8 pkgrel = 1 url = https://github.com/vikstrous/pirate-get/ arch = any license = AGPL depends = python optdepends = python-colorama: for colored output - source = https://github.com/vikstrous/pirate-get/archive/v0.2.4.tar.gz - sha256sums = 17f26e015e15afd280123b173678566b19879fe61fdaf53fd7676461308ad006 + provides = pirate-get + conflicts = pirate-get-git + source = https://github.com/vikstrous/pirate-get/archive/v0.2.8.tar.gz + sha256sums = db3c9e86157c3a4f83cf7a974587c93320b6d091b3310f57b9f3921253c10ba5 pkgname = pirate-get diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..b63977a0ed66 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +src/ +pkg/ +*.tar.* @@ -1,7 +1,9 @@ -# Maintainer: Viktor Stanchev <me aatt viktorstanchev doot com> +# Maintainer: Marcin (CTRL) Wieczorek <marcin@marcin.co> +# Contributor: Viktor Stanchev <me aatt viktorstanchev doot com> +# Contributor: Wilson Birney <wpbirney@gmail.com> pkgname=pirate-get -pkgver=0.2.4 +pkgver=0.2.8 pkgrel=1 pkgdesc='A command line interface for the Pirate Bay' arch=('any') @@ -9,14 +11,17 @@ url='https://github.com/vikstrous/pirate-get/' license=('AGPL') depends=('python') optdepends=('python-colorama: for colored output') +provides=("pirate-get") +conflicts=("pirate-get-git") source=('https://github.com/vikstrous/pirate-get/archive/v'${pkgver}'.tar.gz') -sha256sums=('17f26e015e15afd280123b173678566b19879fe61fdaf53fd7676461308ad006') +sha256sums=('db3c9e86157c3a4f83cf7a974587c93320b6d091b3310f57b9f3921253c10ba5') -package() { - mkdir -p ${pkgdir}/usr/bin/ - cp ${pkgname}-${pkgver}/${pkgname}.py ${pkgdir}/usr/bin/${pkgname} +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py build } -check() { - stat ${pkgname}-${pkgver}/${pkgname}.py +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py install --root $pkgdir } |