# $Id: PKGBUILD 39826 2009-05-21 14:24:22Z jgc $ # Maintainer: Aaron Griffin pkgname=lsdvd pkgver=0.16 pkgrel=4 pkgdesc="lsdvd is a C application for reading the contents of a DVD and printing the contents to your terminal" arch=(i686 x86_64) url="http://untrepid.com/acidrip/lsdvd.html" depends=('libdvdread>=4.1.3') license=('GPL2') #Special thanks to Mathieu Clabaut for patches source=(http://downloads.sourceforge.net/lsdvd/${pkgname}-${pkgver}.tar.gz stdint_usage.patch) md5sums=('340e1abe5c5e5abf7ff8031e78f49ee7' '6cbcbfde873f894bd3c784f65141b2fc') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i "${srcdir}/stdint_usage.patch" || return 1 ./configure --prefix=/usr --mandir=/usr/share/man || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 }