Date: Sunday, July 13, 2014 @ 18:11:24 Author: jsteel Revision: 115654
mtree rebuilds Modified: lsdvd/trunk/PKGBUILD ----------+ PKGBUILD | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-07-13 15:38:37 UTC (rev 115653) +++ PKGBUILD 2014-07-13 16:11:24 UTC (rev 115654) @@ -1,28 +1,33 @@ # $Id$ -# Maintainer: Aaron Griffin <aa...@archlinux.org> +# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org> +# Contributor: Aaron Griffin <aa...@archlinux.org> +# Contributor: Mathieu Clabaut <mathieu.clab...@gmail.com> pkgname=lsdvd pkgver=0.16 -pkgrel=6 -pkgdesc="A C application for reading the contents of a DVD and printing the contents to your terminal" +pkgrel=7 +pkgdesc="Console application that displays the content of a DVD" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/lsdvd/" +license=('GPL2') depends=('libdvdread') -license=('GPL2') -#Special thanks to Mathieu Clabaut <mathieu.clab...@gmail.com> for patches -source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" - 'stdint_usage.patch') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz + stdint_usage.patch) md5sums=('340e1abe5c5e5abf7ff8031e78f49ee7' '6cbcbfde873f894bd3c784f65141b2fc') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i "${srcdir}/stdint_usage.patch" + cd "$srcdir"/$pkgname-$pkgver + + patch -Np1 -i "$srcdir"/stdint_usage.patch + ./configure --prefix=/usr --mandir=/usr/share/man + make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + cd "$srcdir"/$pkgname-$pkgver + + make DESTDIR="$pkgdir"/ install }