Date: Thursday, November 7, 2019 @ 21:45:23 Author: arojas Revision: 367162
archrelease: copy trunk to staging-x86_64 Added: libdvdnav/repos/staging-x86_64/ libdvdnav/repos/staging-x86_64/PKGBUILD (from rev 367161, libdvdnav/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: libdvdnav/repos/staging-x86_64/PKGBUILD (from rev 367161, libdvdnav/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-11-07 21:45:23 UTC (rev 367162) @@ -0,0 +1,37 @@ +# Maintainer: Jan de Groot <j...@archlinux.org> +# Contributor: Arjan <ar...@archlinux.org> +# contributor Sarah Hay <sarah...@mb.sympatico.ca> + +pkgname=libdvdnav +pkgver=6.0.1 +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=ee4f6486d73ab54e7704b4fed2615a1bad76427f # tags/6.0.1^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 +}