aboutsummaryrefslogtreecommitdiffstats
path: root/main/mg
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-08 14:07:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-08 14:07:31 +0000
commit5ef3d941afab3657fbac613257121bbbb70dc16a (patch)
treebd083b532dd4aa7e96d06f7e76ba878df04ea913 /main/mg
parent4e576fa5c6b85d2473ddf0aa3b7d2d162914a896 (diff)
downloadaports-5ef3d941afab3657fbac613257121bbbb70dc16a.tar.bz2
aports-5ef3d941afab3657fbac613257121bbbb70dc16a.tar.xz
main/mg: ship the tutorial with -doc
Diffstat (limited to 'main/mg')
-rw-r--r--main/mg/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/mg/APKBUILD b/main/mg/APKBUILD
index 417c0178f6..bf7c3c4996 100644
--- a/main/mg/APKBUILD
+++ b/main/mg/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mg
pkgver=20110120
-pkgrel=0
+pkgrel=1
pkgdesc="mg is Micro GNU/emacs, this is a portable version of the mg maintained by the OpenBSD team."
url="http://homepage.boetes.org/software/mg"
arch="all"
@@ -29,7 +29,8 @@ build() {
package() {
cd "$_builddir"
make INSTALL=install DESTDIR="$pkgdir" prefix=/usr \
- mandir=/usr/share/man install
+ mandir=/usr/share/man install || return 1
+ install -Dm644 tutorial "$pkgdir"/usr/share/doc/$pkgname/tutorial
}
md5sums="f2fa8016a491aa2a9d4c5698c593f31b mg-20110120.tar.gz"