[arch-commits] Commit in lzo/trunk (PKGBUILD)
Daniel Griffiths
dgriffiths at archlinux.org
Fri Apr 9 06:21:14 UTC 2010
Date: Friday, April 9, 2010 @ 02:21:14
Author: dgriffiths
Revision: 76929
Cleanup, adopted
Modified:
lzo/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-04-09 06:18:41 UTC (rev 76928)
+++ PKGBUILD 2010-04-09 06:21:14 UTC (rev 76929)
@@ -1,13 +1,15 @@
# $Id$
# Contributor: Low Kian Seong <fastmail_low at speedymail.org>
-# Maintainer: Judd Vinet <jvinet at zeroflux.org>
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
+
pkgname=lzo
pkgver=1.08
pkgrel=5
-pkgdesc="LZO is a portable lossless data compression library written in ANSI C"
-arch=(i686 x86_64)
+pkgdesc='LZO is a portable lossless data compression library written in ANSI C'
+arch=('i686' 'x86_64')
license=('GPL')
-url="http://www.oberhumer.com/opensource/lzo"
+url='http://www.oberhumer.com/opensource/lzo'
depends=('glibc')
makedepends=('nasm')
options=('!libtool')
@@ -16,10 +18,16 @@
md5sums=('ab94d3da364c7cbd5b78d76f1875b0f6' '43fb13762383b572d22152f8815ea4a5')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- patch -Np0 -i ${srcdir}/nasm-gcc3.patch || return 1
- autoconf || return 1
- ./configure --prefix=/usr --enable-shared || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ patch -Np0 -i ${srcdir}/nasm-gcc3.patch || return 1
+ autoconf || return 1
+ ./configure --prefix=/usr --enable-shared || return 1
+ make || return 1
}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install || return 1
+}
More information about the arch-commits
mailing list