summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorepitron2017-05-25 02:17:21 -0400
committerepitron2017-05-25 02:17:21 -0400
commite4f900c88dae017ea3c29857741d935b5a221942 (patch)
tree7df10f2f5a14689b562aed947aa1ef1ff62fb67b /PKGBUILD
parent601814887947da1b94f72a2b3da912ce79b5a129 (diff)
downloadaur-e4f900c88dae017ea3c29857741d935b5a221942.tar.gz
Added manpages
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 6 insertions, 2 deletions
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
}