summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorepitron2017-05-25 02:17:21 -0400
committerepitron2017-05-25 02:17:21 -0400
commite4f900c88dae017ea3c29857741d935b5a221942 (patch)
tree7df10f2f5a14689b562aed947aa1ef1ff62fb67b
parent601814887947da1b94f72a2b3da912ce79b5a129 (diff)
downloadaur-e4f900c88dae017ea3c29857741d935b5a221942.tar.gz
Added manpages
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8aeb9b5a493..c1cf6a5d6c1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = wcc-git
pkgdesc = The Witchcraft Compiler Collection
pkgver = 0.0.1.r1.g391ae30
- pkgrel = 1
+ pkgrel = 2
arch = i686
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index beac85472e4..af58007ac25 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=wcc-git
_pkgname=wcc
pkgver=0.0.1.r1.g391ae30
-pkgrel=1
+pkgrel=2
pkgdesc="The Witchcraft Compiler Collection"
arch=('i686' 'x86_64')
license=('MIT')
@@ -32,6 +32,10 @@ build() {
package() {
cd "$_pkgname"
- mkdir -p "${pkgdir}/usr/bin"
+ install -d "${pkgdir}/usr/bin"
make DESTDIR="${pkgdir}/" install
+
+ # install manpages
+ install -d "${pkgdir}/usr/share/man/man1/"
+ install -pm 644 doc/manpages/* $pkgdir/usr/share/man/man1
}