main/mg: ship the tutorial with -doc

This commit is contained in:
Natanael Copa 2011-06-08 14:07:31 +00:00
parent 4e576fa5c6
commit 5ef3d941af

View File

@ -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"