From ebe74a263db3899367e12d936f908cdfdee7ec15 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 15 Jun 2011 22:59:36 +0000 Subject: Wed Jun 15 22:59:36 UTC 2011 --- extra/chmlib/PKGBUILD | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'extra/chmlib/PKGBUILD') diff --git a/extra/chmlib/PKGBUILD b/extra/chmlib/PKGBUILD index 1c91a1985..24589b4b2 100644 --- a/extra/chmlib/PKGBUILD +++ b/extra/chmlib/PKGBUILD @@ -1,25 +1,28 @@ -# $Id: PKGBUILD 42201 2009-06-11 18:45:59Z giovanni $ +# $Id: PKGBUILD 127389 2011-06-14 06:55:42Z andrea $ # Maintainer: Giovanni Scafora # Contributor: Alexander 'dma147' Mieland # Contributor: Simon Morgan pkgname=chmlib pkgver=0.40 -pkgrel=1 +pkgrel=2 pkgdesc="Library for dealing with Microsoft ITSS/CHM format files" arch=('i686' 'x86_64') url="http://morte.jedrea.com/~jedwin/projects/chmlib/" -options=('!libtool' '!emptydirs') +options=('!libtool') license=('LGPL') depends=('glibc') -source=(http://morte.jedrea.com/~jedwin/projects/chmlib/${pkgname}-${pkgver}.tar.bz2) +source=("http://morte.jedrea.com/~jedwin/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2") md5sums=('7ea49ed8c335215c1edc6fae83e6b912') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}"/${pkgname}-${pkgver} ./configure --prefix=/usr \ --enable-examples=yes - make || return 1 - make DESTDIR=${pkgdir} install + make } +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install +} -- cgit v1.2.3-54-g00ecf