~alpine/aports

main/lzo: Add -doc subpackage. Minor cleanups in APKBUILD v1 PROPOSED

Valery Kartel: 1
 main/lzo: Add -doc subpackage. Minor cleanups in APKBUILD

 1 files changed, 5 insertions(+), 8 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/2084/mbox | git am -3
Learn more about email & git

[alpine-aports] [PATCH] main/lzo: Add -doc subpackage. Minor cleanups in APKBUILD Export this patch

---
 main/lzo/APKBUILD | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/main/lzo/APKBUILD b/main/lzo/APKBUILD
index 31ceb69..736b424 100644
--- a/main/lzo/APKBUILD
+++ b/main/lzo/APKBUILD
@@ -1,8 +1,9 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=lzo
pkgver=2.09
pkgrel=0
pkgrel=1
pkgdesc="LZO -- a real-time data compression library"
url="http://www.oberhumer.com/opensource/lzo"
arch="all"
@@ -10,14 +11,10 @@ license="GPL"
depends=""
makedepends=""
install=
subpackages="$pkgname-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.oberhumer.com/opensource/lzo/download/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
}
_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
@@ -34,7 +31,7 @@ build() {
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

-- 
2.7.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---