Date: Wednesday, February 14, 2018 @ 10:59:23
Author: jgc
Revision: 316997
archrelease: copy trunk to testing-x86_64
Added:
libdvdread/repos/testing-x86_64/
libdvdread/repos/testing-x86_64/PKGBUILD
(from rev 316996, libdvdread/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: libdvdread/repos/testing-x86_64/PKGBUILD (from rev 316996,
libdvdread/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-02-14 10:59:23 UTC (rev 316997)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Jan de Groot <[email protected]>
+# Contributor: Thomas Baechler <[email protected]>
+# Contributor: Tom Newsom <[email protected]>
+
+pkgname=libdvdread
+pkgver=6.0.0
+pkgrel=1
+pkgdesc="Provides a simple foundation for reading DVD video disks"
+arch=(x86_64)
+url="https://www.videolan.org/developers/libdvdnav.html"
+license=('GPL')
+depends=('glibc')
+makedepends=('libdvdcss' 'git')
+optdepends=('libdvdcss: for decoding encrypted DVDs')
+_commit=95fdbe8337d2ff31dcfb68f35f3e4441dc27d92f # tags/6.0.0^0
+source=("git+https://code.videolan.org/videolan/libdvdread.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed -e 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ autoreconf -fi
+}
+
+build() {
+ cd $pkgname
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="${pkgdir}" install
+}