From 7c151ac5589d3dbef5972f69a62b847ecf565bfa Mon Sep 17 00:00:00 2001 From: root Date: Wed, 30 Oct 2013 01:04:25 -0700 Subject: Wed Oct 30 01:01:59 PDT 2013 --- extra/lzo/PKGBUILD | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'extra/lzo') diff --git a/extra/lzo/PKGBUILD b/extra/lzo/PKGBUILD index ba60530e4..115baed03 100644 --- a/extra/lzo/PKGBUILD +++ b/extra/lzo/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 150589 2012-02-18 15:59:31Z pierre $ +# $Id: PKGBUILD 197768 2013-10-29 20:44:43Z eric $ # Maintainer: # Contributor: Low Kian Seong # Contributor: Judd Vinet @@ -6,30 +6,31 @@ pkgname=lzo pkgver=1.08 -pkgrel=7 +pkgrel=8 pkgdesc='A portable lossless data compression library written in ANSI C' arch=('i686' 'x86_64') license=('GPL') url='http://www.oberhumer.com/opensource/lzo' depends=('glibc') makedepends=('nasm') -options=('!libtool') source=("http://www.oberhumer.com/opensource/lzo/download/LZO-v1/${pkgname}-${pkgver}.tar.gz" 'nasm-gcc3.patch') md5sums=('ab94d3da364c7cbd5b78d76f1875b0f6' '43fb13762383b572d22152f8815ea4a5') -build() { - cd "${srcdir}"/${pkgname}-${pkgver} +prepare() { + cd ${pkgname}-${pkgver} + patch -p0 -i "${srcdir}"/nasm-gcc3.patch +} - patch -p0 -i "${srcdir}"/nasm-gcc3.patch - autoconf - ./configure --prefix=/usr --enable-shared - make +build() { + cd ${pkgname}-${pkgver} + autoconf + ./configure --prefix=/usr --enable-shared + make } package() { - cd "${srcdir}"/${pkgname}-${pkgver} - - make DESTDIR="${pkgdir}" install + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install } -- cgit v1.2.3-54-g00ecf