diff options
author | Daniel Bermond | 2019-06-02 14:19:47 +0000 |
---|---|---|
committer | Daniel Bermond | 2019-06-02 14:19:47 +0000 |
commit | e23694076bfeccb18c7949313d3df9baa59872e1 (patch) | |
tree | f40d0a00cb68123d940ca8ab0bb1444468e5f61d /PKGBUILD | |
parent | 0468fa4b64ff48d2c63c636b05d3c0305313cf6f (diff) | |
download | aur-e23694076bfeccb18c7949313d3df9baa59872e1.tar.gz |
Do not rename the clone dir
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -1,4 +1,4 @@ -# Maintainer : Daniel Bermond < yahoo-com: danielbermond > +# Maintainer : Daniel Bermond < gmail-com: danielbermond > # Contributor: Det <nimetonmaili at-gmail a-dot com> # Contributor: PelPix <kylebloss[at]pelpix[dot]info> # Contributor: DrZaius <lou[at]fakeoutdoorsman.com> @@ -13,9 +13,9 @@ # 10-bit, please see, e.g.: https://gist.github.com/l4n9th4n9/4459997 pkgname=x264-git -pkgver=157.r2935.g545de2ff +pkgver=157.r2969.gd4099dd4 pkgrel=1 -arch=('i686' 'x86_64') +arch=('x86_64') pkgdesc='Open Source H264/AVC video encoder (git version)' url='https://www.videolan.org/developers/x264.html' license=('GPL') @@ -25,11 +25,15 @@ makedepends=('git' 'nasm' 'ffmpeg' 'l-smash') provides=('x264' 'libx264' 'libx264-git' 'libx264.so') conflicts=('x264' 'libx264' 'libx264-10bit' 'libx264-all') replaces=('libx264-git' 'libx264-10bit-git' 'libx264-all-git') -source=("$pkgname"::'git+https://git.videolan.org/git/x264.git') +source=('git+https://git.videolan.org/git/x264.git') sha256sums=('SKIP') +prepare() { + mkdir -p x264/build-{8,10}bit +} + pkgver() { - cd "$pkgname" + cd x264 local _version local _revision @@ -43,10 +47,8 @@ pkgver() { } build() { - mkdir -p "$pkgname"/build-{8,10}bit - printf '%s\n' ' -> Building for 8-bit...' - cd "${pkgname}/build-8bit" + cd x264/build-8bit ../configure \ --prefix='/usr' \ --enable-shared \ @@ -57,7 +59,7 @@ build() { make printf '%s\n' ' -> Building for 10-bit...' - cd ../build-10bit + cd "${srcdir}/x264/build-10bit" ../configure \ --prefix='/usr' \ --libdir='/usr/lib/x264-10bit' \ @@ -71,10 +73,9 @@ build() { } package() { - cd "$pkgname" + cd x264 local _depth - for _depth in 10 8 do printf '%s\n' " -> Installing for ${_depth}-bit..." |