summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Dewender2014-12-10 23:34:22 +0100
committerJohannes Dewender2014-12-10 23:34:22 +0100
commitec7b8aea9d0f4e81cb137632b11bc897ed4af381 (patch)
treef35a5f1b0815f1a3fe7b532e6c545f8ee22ecaa7
parent4dc0f6e2fe9d5119438068af9ffebeda0ef54cf2 (diff)
downloadaur-ec7b8aea9d0f4e81cb137632b11bc897ed4af381.tar.gz
reportbug: also package man pages
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 53cd7348cea..01989c98fa6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = reportbug
pkgdesc = report bugs in the Debian distribution + python modules
pkgver = 6.6.1
- pkgrel = 1
+ pkgrel = 2
url = http://packages.debian.org/sid/reportbug
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 898b3d64e7e..ebf4b724fd5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=reportbug
_python=python2
pkgver=6.6.1
-pkgrel=1
+pkgrel=2
pkgdesc="report bugs in the Debian distribution + python modules"
arch=('any')
url="http://packages.debian.org/sid/reportbug"
@@ -19,9 +19,13 @@ build() {
cd "$srcdir/$pkgname-$pkgver"
$_python setup.py build
}
+
package() {
cd "$srcdir/$pkgname-$pkgver"
$_python setup.py install --root="$pkgdir/" --optimize=1
+ mkdir -p $pkgdir/usr/share/man/man1/ $pkgdir/usr/share/man/man5/
+ install -m644 -t $pkgdir/usr/share/man/man1/ man/*.1
+ install -m644 -t $pkgdir/usr/share/man/man5/ man/*.5
}
# vim:set ts=2 sw=2 et: