summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2019-06-02 14:19:47 +0000
committerDaniel Bermond2019-06-02 14:19:47 +0000
commite23694076bfeccb18c7949313d3df9baa59872e1 (patch)
treef40d0a00cb68123d940ca8ab0bb1444468e5f61d
parent0468fa4b64ff48d2c63c636b05d3c0305313cf6f (diff)
downloadaur-e23694076bfeccb18c7949313d3df9baa59872e1.tar.gz
Do not rename the clone dir
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD23
2 files changed, 14 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2fb7d3fef8c..4b3f78dbc6d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,8 @@
pkgbase = x264-git
pkgdesc = Open Source H264/AVC video encoder (git version)
- pkgver = 157.r2935.g545de2ff
+ pkgver = 157.r2969.gd4099dd4
pkgrel = 1
url = https://www.videolan.org/developers/x264.html
- arch = i686
arch = x86_64
license = GPL
makedepends = git
@@ -26,7 +25,7 @@ pkgbase = x264-git
replaces = libx264-git
replaces = libx264-10bit-git
replaces = libx264-all-git
- source = x264-git::git+https://git.videolan.org/git/x264.git
+ source = git+https://git.videolan.org/git/x264.git
sha256sums = SKIP
pkgname = x264-git
diff --git a/PKGBUILD b/PKGBUILD
index 1fca72ac8a4..e91d92b78e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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..."