Date: Wednesday, June 6, 2018 @ 20:04:27 Author: heftig Revision: 326069
archrelease: copy trunk to extra-any Added: eglexternalplatform/repos/extra-any/PKGBUILD (from rev 326068, eglexternalplatform/trunk/PKGBUILD) Deleted: eglexternalplatform/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 67 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-06-06 20:03:52 UTC (rev 326068) +++ PKGBUILD 2018-06-06 20:04:27 UTC (rev 326069) @@ -1,33 +0,0 @@ -# $Id$ -# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> - -pkgname=eglexternalplatform -pkgver=0+3 -pkgrel=2 -pkgdesc="EGL External Platform interface" -url=https://github.com/NVIDIA/eglexternalplatform -arch=(any) -license=(MIT) -depends=(mesa) -makedepends=(git) -_commit=e3b182e3253f92bdbb03a71fdbd958bfb69cf3e3 # master -source=("git+$url#commit=$_commit") -sha256sums=('SKIP') - -pkgver() { - cd $pkgname - printf '0+%s' "$(git rev-list --count HEAD)" -} - -prepare() { - cd $pkgname -} - -package() { - cd $pkgname - install -Dt "$pkgdir/usr/include/EGL" -m644 interface/* - install -Dt "$pkgdir/usr/share/pkgconfig" -m644 *.pc - install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING -} - -# vim:set sw=2 et: Copied: eglexternalplatform/repos/extra-any/PKGBUILD (from rev 326068, eglexternalplatform/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-06-06 20:04:27 UTC (rev 326069) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=eglexternalplatform +pkgver=1.0+2+ge3b182e +pkgrel=1 +pkgdesc="EGL External Platform interface" +url=https://github.com/NVIDIA/eglexternalplatform +arch=(any) +license=(MIT) +depends=(mesa) +makedepends=(git) +_commit=e3b182e3253f92bdbb03a71fdbd958bfb69cf3e3 # master +source=("git+$url#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + git tag -f 1.0 53bf47ccd349b7525248687ba0058860168c8580 # Fixup missing tag +} + +package() { + cd $pkgname + install -Dt "$pkgdir/usr/include/EGL" -m644 interface/* + install -Dt "$pkgdir/usr/share/pkgconfig" -m644 *.pc + install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING +} + +# vim:set sw=2 et: