[arch-commits] CVS update of extra/lib/libdvdnav (PKGBUILD)

Jan de Groot jgc at archlinux.org
Wed Mar 26 18:44:18 UTC 2008


    Date: Wednesday, March 26, 2008 @ 14:44:18
  Author: jgc
    Path: /home/cvs-extra/extra/lib/libdvdnav

Modified: PKGBUILD (1.10 -> 1.11)

upgpkg: libdvdnav 0.1.10-3
    Fix license, build with gcc 4.3, remove dependency on libdvdcss, it is optional and dlopened


----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)


Index: extra/lib/libdvdnav/PKGBUILD
diff -u extra/lib/libdvdnav/PKGBUILD:1.10 extra/lib/libdvdnav/PKGBUILD:1.11
--- extra/lib/libdvdnav/PKGBUILD:1.10	Sun May 21 18:17:54 2006
+++ extra/lib/libdvdnav/PKGBUILD	Wed Mar 26 14:44:18 2008
@@ -1,21 +1,22 @@
-# $Id: PKGBUILD,v 1.10 2006/05/21 22:17:54 uid1015 Exp $
+# $Id: PKGBUILD,v 1.11 2008/03/26 18:44:18 jgc Exp $
 # Maintainer: arjan <arjan at archlinux.org>
 # contributor Sarah Hay <sarahhay at mb.sympatico.ca>
 
 pkgname=libdvdnav
 pkgver=0.1.10
-pkgrel=2
+pkgrel=3
 pkgdesc="The library for xine-dvdnav plugin."
 arch=(i686 x86_64)
-depends=('libdvdcss')
-source=(http://umn.dl.sourceforge.net/sourceforge/dvd/$pkgname-$pkgver.tar.gz)
+license=('GPL')
 url="http://dvd.sourceforge.net/index.shtml"
+depends=('glibc')
+options=(!libtool)
+source=(http://downloads.sourceforge.net/sourceforge/dvd/${pkgname}-${pkgver}.tar.gz)
 md5sums=('c8ddee96ba1182d73447eaf0bb6fde81')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  ./autogen.sh --prefix=/usr
+  cd ${startdir}/src/${pkgname}-${pkgver}
+  ./autogen.sh --prefix=/usr || return 1
   make || return 1
-  make DESTDIR=$startdir/pkg install
-  find $startdir/pkg -name '*.la' -exec rm {} \;
+  make DESTDIR=${startdir}/pkg install || return 1
 }




More information about the arch-commits mailing list