summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuraj Fiala2016-04-09 14:58:53 +0200
committerJuraj Fiala2016-04-09 14:58:53 +0200
commitd1349a1479e6782195df689c172e44075cb9f70c (patch)
tree61c1618d0738e3fab19725c3034a70d25f65d730
parent7a4480dc593b04176f2a35e4762956be2c757b29 (diff)
downloadaur-d1349a1479e6782195df689c172e44075cb9f70c.tar.gz
Added manpages.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 8 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 75b34100bdc9..115c8887d203 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Sat Apr 9 12:19:26 UTC 2016
+# Sat Apr 9 12:58:53 UTC 2016
pkgbase = bitmask_client
pkgdesc = Encrypted communication for mere mortals.
pkgver = 0.9.1
diff --git a/PKGBUILD b/PKGBUILD
index f7669dfe6606..6fc0471749a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -71,6 +71,10 @@ build() {
make
# Python
python2 setup.py build
+
+ cd "$srcdir/$pkgname-debian-experimental/docs/man"
+ rst2man2 bitmask.1.rst bitmask.1
+ rst2man2 bitmask-root.1.rst bitmask-root.1
}
#check() {
@@ -91,6 +95,9 @@ package() {
install -Dm644 -t "${pkgdir}/usr/share/pixmaps" debian/bitmask.xpm
install -Dm644 -t "${pkgdir}/usr/share/applications" debian/bitmask.desktop
+ install -Dm644 -t "${pkgdir}/usr/share/man/man1" docs/man/bitmask.1 \
+ docs/man/bitmask-root.1
+
for i in 24x24 32x32 48x48 64x64 128x128 256x256; do
install -Dm644 -t "${pkgdir}/usr/share/icons/hicolor/$i/apps/" \
debian/icons/hicolor/$i/apps/bitmask.png