[arch-commits] Commit in libdvdread/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Sep 20 19:11:26 UTC 2014


    Date: Saturday, September 20, 2014 @ 21:11:25
  Author: bpiotrowski
Revision: 222511

upgpkg: libdvdread 5.0.0-1

new upstream release

Modified:
  libdvdread/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-09-20 19:08:15 UTC (rev 222510)
+++ PKGBUILD	2014-09-20 19:11:25 UTC (rev 222511)
@@ -4,7 +4,7 @@
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
 pkgname=libdvdread
-pkgver=4.9.9
+pkgver=5.0.0
 pkgrel=1
 pkgdesc="Provides a simple foundation for reading DVD video disks"
 arch=(i686 x86_64)
@@ -11,18 +11,23 @@
 url="http://dvdnav.mplayerhq.hu"
 license=('GPL')
 depends=('glibc')
-makedepends=('libdvdcss')
+makedepends=('libdvdcss' 'git')
 optdepends=('libdvdcss: for decoding encrypted DVDs')
-source=(http://dvdnav.mplayerhq.hu/releases/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('d91275471ef69d488b05cf15c60e1cd65e17648bfc692b405787419f47ca424a')
+source=(git://git.videolan.org/libdvdread.git#tag=$pkgver)
+sha256sums=('SKIP')
 
+prepare() {
+  cd $pkgname
+  autoreconf -fi
+}
+
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="${pkgdir}" install
 }




More information about the arch-commits mailing list