Date: Thursday, November 7, 2019 @ 21:40:37 Author: arojas Revision: 367158
archrelease: copy trunk to staging-x86_64 Added: libdvdread/repos/staging-x86_64/ libdvdread/repos/staging-x86_64/PKGBUILD (from rev 367157, libdvdread/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: libdvdread/repos/staging-x86_64/PKGBUILD (from rev 367157, libdvdread/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-11-07 21:40:37 UTC (rev 367158) @@ -0,0 +1,38 @@ +# Maintainer: Jan de Groot <j...@archlinux.org> +# Contributor: Thomas Baechler <tho...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> + +pkgname=libdvdread +pkgver=6.0.2 +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=a02a002ff7e4a740a740a649f466a8954c70c5a1 # tags/6.0.2^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 +}