diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-02 13:17:40 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-02 13:17:56 +0000 |
commit | 640fed191484908b7ff73cdd01a65b994ddb8e00 (patch) | |
tree | 547826d6cb3bcbe35234d720a83267b93fd7b377 /testing/mdocml/APKBUILD | |
parent | d25a413303445e81f1314f501bbe1d6ad3da76e5 (diff) | |
download | aports-640fed191484908b7ff73cdd01a65b994ddb8e00.tar.bz2 aports-640fed191484908b7ff73cdd01a65b994ddb8e00.tar.xz |
testing/mdocml: reate -dev subpackage and remove useless sed
Diffstat (limited to 'testing/mdocml/APKBUILD')
-rw-r--r-- | testing/mdocml/APKBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/testing/mdocml/APKBUILD b/testing/mdocml/APKBUILD index 99b2a07277..384881fccc 100644 --- a/testing/mdocml/APKBUILD +++ b/testing/mdocml/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mdocml pkgver=1.11.3 -pkgrel=0 +pkgrel=1 pkgdesc="Roff implementation" url="http://mdocml.bsd.lv/" arch="all" @@ -9,24 +9,23 @@ license="BSD" depends= makedepends= install= -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-dev" source="http://mdocml.bsd.lv/snapshots/mdocml-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" - sed -i -e 's:/usr/local:/usr:' Makefile || return 1 } build() { cd "$_builddir" - make || return 1 + make PREFIX=/usr || return 1 } package() { cd "$_builddir" - make DESTDIR="$pkgdir" MANDIR=/usr/share/man \ + make DESTDIR="$pkgdir" PREFIX=/usr MANDIR=/usr/share/man \ EXAMPLEDIR=/usr/share/doc/mdocml/examples install } |