Date: Wednesday, February 14, 2018 @ 11:03:21 Author: jgc Revision: 316999
archrelease: copy trunk to testing-x86_64 Added: libdvdnav/repos/testing-x86_64/ libdvdnav/repos/testing-x86_64/PKGBUILD (from rev 316998, libdvdnav/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: libdvdnav/repos/testing-x86_64/PKGBUILD (from rev 316998, libdvdnav/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-02-14 11:03:21 UTC (rev 316999) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Jan de Groot <j...@archlinux.org> +# Contributor: Arjan <ar...@archlinux.org> +# contributor Sarah Hay <sarah...@mb.sympatico.ca> + +pkgname=libdvdnav +pkgver=6.0.0 +pkgrel=1 +pkgdesc="The library for xine-dvdnav plugin." +arch=('x86_64') +license=('GPL') +url="https://www.videolan.org/developers/libdvdnav.html" +depends=('libdvdread') +makedepends=('git') +_commit=dcb9109e45ccd304ec82a7c7bf46cca63620adf9 # tags/6.0.0^0 +source=("git+https://code.videolan.org/videolan/libdvdnav.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 +}