# $Id: PKGBUILD 98428 2010-11-08 21:29:39Z andrea $
# Maintainer:
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>

pkgname=lzop
pkgver=1.03
pkgrel=1
pkgdesc="File compressor using lzo lib"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.lzop.org/"
depends=('lzo2')
source=(http://www.lzop.org/download/${pkgname}-${pkgver}.tar.gz)
md5sums=('006c5e27fb78cdd14a628fdfa5aa1905')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr \
    --mandir=/usr/share/man
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}