[arch-commits] Commit in lsdvd/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Sun May 22 11:21:47 UTC 2011
Date: Sunday, May 22, 2011 @ 07:21:47
Author: andrea
Revision: 124465
upgpkg: lsdvd 0.16-5
old package rebuild; fix url; fix description; use package()
Modified:
lsdvd/trunk/PKGBUILD
----------+
PKGBUILD | 27 ++++++++++++++++-----------
1 file changed, 16 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-05-22 09:56:36 UTC (rev 124464)
+++ PKGBUILD 2011-05-22 11:21:47 UTC (rev 124465)
@@ -3,21 +3,26 @@
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')
+pkgrel=5
+pkgdesc="A C application for reading the contents of a DVD and printing the contents to your terminal"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/lsdvd/"
+depends=('libdvdread')
license=('GPL2')
#Special thanks to Mathieu Clabaut <mathieu.clabaut at gmail.com> for patches
-source=(http://downloads.sourceforge.net/lsdvd/${pkgname}-${pkgver}.tar.gz
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
stdint_usage.patch)
-md5sums=('340e1abe5c5e5abf7ff8031e78f49ee7' '6cbcbfde873f894bd3c784f65141b2fc')
+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
+ patch -Np1 -i "${srcdir}/stdint_usage.patch"
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list