makedeb


pirate-get 0.4.2-7


A command line interface for the Pirate Bay

Click here to go back to the commit logs for pirate-get.

Commit:


Hash: 1f943f0c980a4b4f90b210be57ca79f05d8ce6a2

Message: Update to v0.2.8

Diff


diff --git a/.SRCINFO b/.SRCINFO
index ba22191..6431ba2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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 0000000..b63977a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+src/
+pkg/
+*.tar.*
diff --git a/PKGBUILD b/PKGBUILD
index 7498ea4..1dded8c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
 }