makedeb
A command line interface for the Pirate Bay
Click here to go back to the commit logs for pirate-get.
Hash: a29c3a565937a694681e6b1cc446bafabd458906
Message: rm tests
diff --git a/.SRCINFO b/.SRCINFO
index b007b8d..5cf7064 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
pkgname = pirate-get
pkgbase = pirate-get
pkgdesc = A command line interface for the Pirate Bay
-pkgrel = 6
+pkgrel = 7
pkgver = 0.4.2
url = https://github.com/vikstrous/pirate-get/
arch = all
@@ -14,5 +14,5 @@ depends = python3-pyperclip
license = AGPL
makedepends = python3-setuptools
source = pirate-get-0.4.2.tar.gz::https://github.com/vikstrous/pirate-get/archive/0.4.2.tar.gz
-sha256sums = 6ea9fac2505ea02bf4914c83975f1a9f341e1a4ed16282a86250ceddfbd475ef
+b2sums = 191f8ea3e8f2df94163372a4b2225345b4bded1cfa1a6886db1657e509b23f0ddcc328a3c23c4c9e47c2ba21388a20b5e275935a5c7cdff6d5abc063a29c9325
makedepends = python3-setuptools
diff --git a/PKGBUILD b/PKGBUILD
index 46c61fb..3f2a6c1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=pirate-get
pkgver=0.4.2
-pkgrel=6
+pkgrel=7
pkgdesc='A command line interface for the Pirate Bay'
arch=('all')
url='https://github.com/vikstrous/pirate-get/'
@@ -13,7 +13,7 @@ license=('AGPL')
depends=('python3-veryprettytable' 'python3-bs4' 'python3-termcolor' 'python3-colorama' 'python3-pyperclip')
makedepends=('python3-setuptools')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/vikstrous/pirate-get/archive/${pkgver}.tar.gz")
-sha256sums=('6ea9fac2505ea02bf4914c83975f1a9f341e1a4ed16282a86250ceddfbd475ef')
+b2sums=('191f8ea3e8f2df94163372a4b2225345b4bded1cfa1a6886db1657e509b23f0ddcc328a3c23c4c9e47c2ba21388a20b5e275935a5c7cdff6d5abc063a29c9325')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -24,6 +24,8 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python3 setup.py install --root "${pkgdir}" --optimize=1 --skip-build --install-layout deb
+ rm -Rf "$pkgdir/usr/lib/python3/dist-packages/tests"
+
install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$pkgname/license"
install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/readme"
}