makedeb
A command line interface for the Pirate Bay
Click here to go back to the commit logs for pirate-get.
Hash: 62f3e3153047b5b05723e872135b164ff269660a
Message: minor license
diff --git a/.SRCINFO b/.SRCINFO
index 6188c4a..82238bf 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 = 3
+pkgrel = 4
pkgver = 0.4.2
url = https://github.com/vikstrous/pirate-get/
arch = all
diff --git a/PKGBUILD b/PKGBUILD
index 900a35f..2e0a8a8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=pirate-get
pkgver=0.4.2
-pkgrel=3
+pkgrel=4
pkgdesc='A command line interface for the Pirate Bay'
arch=('all')
url='https://github.com/vikstrous/pirate-get/'
@@ -23,4 +23,8 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python3 setup.py install --root "${pkgdir}" --install-layout deb
+
+ install -m644 -d "usr/share/doc/$pkgname"
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$pkgname/license"
+ install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/readme"
}