diff options
author | Daniel Bermond | 2018-12-05 12:45:01 +0000 |
---|---|---|
committer | Daniel Bermond | 2018-12-05 12:45:01 +0000 |
commit | d72ede92633843348a4cb2bbab275c9ccfbdc5ea (patch) | |
tree | 85d738b3afaf68fb073ea16bcc1306ef325ac1df | |
parent | c06132c73b2091bcea090d32b14ca676b535ea1b (diff) | |
download | aur-d72ede92633843348a4cb2bbab275c9ccfbdc5ea.tar.gz |
Do not rename the source clone
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 12 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = libva-utils-git - pkgdesc = Intel VA-API Media Applications and Scripts for libva (git version) - pkgver = 2.2.0.pre1.r2.g9a10ad6 + pkgdesc = Intel VA-API media applications and scripts for libva (git version) + pkgver = 2.2.1.pre1.20180921.r5.g375e4ea pkgrel = 1 url = https://github.com/01org/libva-utils/ arch = i686 @@ -12,7 +12,7 @@ pkgbase = libva-utils-git depends = libva provides = libva-utils conflicts = libva-utils - source = libva-utils-git::git+https://github.com/intel/libva-utils.git + source = git+https://github.com/intel/libva-utils.git sha256sums = SKIP pkgname = libva-utils-git @@ -1,9 +1,10 @@ -# Maintainer: Daniel Bermond < yahoo-com: danielbermond > +# Maintainer: Daniel Bermond < gmail-com: danielbermond > pkgname=libva-utils-git -pkgver=2.2.0.pre1.r2.g9a10ad6 +_srcname=libva-utils +pkgver=2.2.1.pre1.20180921.r5.g375e4ea pkgrel=1 -pkgdesc='Intel VA-API Media Applications and Scripts for libva (git version)' +pkgdesc='Intel VA-API media applications and scripts for libva (git version)' arch=('i686' 'x86_64') url='https://github.com/01org/libva-utils/' license=('custom') @@ -11,28 +12,29 @@ depends=('libva') makedepends=('git' 'meson' 'mesa') provides=('libva-utils') conflicts=('libva-utils') -source=("$pkgname"::'git+https://github.com/intel/libva-utils.git') +source=('git+https://github.com/intel/libva-utils.git') sha256sums=('SKIP') pkgver() { - cd "$pkgname" + cd "$_srcname" # git, tags available git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' } build() { - cd "$pkgname" + cd "$_srcname" arch-meson . build ninja -C build } package() { - cd "$pkgname" + cd "$_srcname" DESTDIR="$pkgdir" ninja -C build install + # avoid conflict with h264enc from package openh264 mv "${pkgdir}/usr/bin/h264enc" "${pkgdir}/usr/bin/h264enc-libva-utils" install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" |