# $Id: $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libirman
pkgver=0.4.5
pkgrel=3
pkgdesc="Irman driver lcd library"
arch=('i686' 'x86_64')
url="http://www.lirc.org"
license=('LGPL')
options=('!libtool')
backup=('etc/irman.conf')
depends=('glibc')
source=("http://downloads.sourceforge.net/lirc/${pkgname}-${pkgver}.tar.bz2")
md5sums=('4a2708d53b6c79659c073cfefed57f78')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
  make
}

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