Date: Monday, February 15, 2016 @ 23:33:26
  Author: alucryd
Revision: 259350

ffmpeg 3.0 rebuild: x264 2:148.20150725-1

Modified:
  x264/trunk/PKGBUILD

----------+
 PKGBUILD |   51 ++++++++++++++++++++++++++++++---------------------
 1 file changed, 30 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-02-15 22:13:13 UTC (rev 259349)
+++ PKGBUILD    2016-02-15 22:33:26 UTC (rev 259350)
@@ -1,7 +1,7 @@
 # $Id$
-# Maintainer:  Ionut Biru <ib...@archlinux.org>
-# Maintainer:  Bartłomiej Piotrowski <bpiotrow...@archlinux.org>
-# Maintainer:  Maxime Gauduin <aluc...@archlinux.org>
+# Maintainer: Maxime Gauduin <aluc...@archlinux.org>
+# Contributor: Ionut Biru <ib...@archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org>
 # Contributor: damir <da...@archlinux.org>
 # Contributor: Paul Mattal <p...@archlinux.org>
 
@@ -14,12 +14,13 @@
 license=('GPL')
 depends=('glibc')
 makedepends=('yasm' 'git' 'ffmpeg' 'l-smash')
-_commit=73ae2d11d472d0eb3b7c218dc1659db32f649b14
-source=(git://git.videolan.org/x264.git#commit=${_commit})
-md5sums=('SKIP')
+_commit='5c6570495f8f1c716b294aee1430d8766a4beb9c'
+source=("git://git.videolan.org/x264.git#commit=${_commit}")
+sha256sums=('SKIP')
 
 pkgver() {
-  cd $pkgbase
+  cd ${pkgbase}
+
   local _ver=$(grep '#define X264_BUILD' x264.h | cut -d' ' -f3)
   local _date=$(git log -1 --format="%cd" --date=short | tr -d -)
 
@@ -27,19 +28,25 @@
 }
 
 prepare() {
-  cp -r $pkgbase $pkgbase-10bit
+  cp -r ${pkgbase} ${pkgbase}-10bit
 }
 
 build() {
-  cd $pkbase
-  ./configure --prefix=/usr \
-    --enable-shared --enable-pic
+  cd ${pkgbase}
+
+  ./configure \
+    --prefix='/usr' \
+    --enable-shared \
+    --enable-pic
   make
 
-  cd ../$pkgbase-10bit
-  ./configure --prefix=/usr \
-    --enable-shared --enable-pic \
-    --bit-depth=10
+  cd ../${pkgbase}-10bit
+
+  ./configure \
+    --prefix='/usr' \
+    --enable-shared \
+    --enable-pic \
+    --bit-depth='10'
   make
 }
 
@@ -50,8 +57,8 @@
   conflicts=('x264-10bit')
   replaces=('x264-10bit')
 
-  make -C $pkgbase DESTDIR="$pkgdir" install-cli
-  install -Dm755 $pkgbase-10bit/x264 "$pkgdir"/usr/bin/x264-10bit
+  make -C ${pkgbase} DESTDIR="${pkgdir}" install-cli
+  install -m 755 ${pkgbase}-10bit/x264 "${pkgdir}"/usr/bin/x264-10bit
 }
 
 package_libx264() {
@@ -60,8 +67,8 @@
   conflicts=('x264-dev')
   replaces=('x264-dev')
 
-  install -d "$pkgdir"/usr/lib
-  make -C $pkgbase DESTDIR="$pkgdir" install-lib-shared
+  install -dm 755 "${pkgdir}"/usr/lib
+  make -C ${pkgbase} DESTDIR="${pkgdir}" install-lib-shared
 }
 
 package_libx264-10bit() {
@@ -69,6 +76,8 @@
   provides=('libx264.so' 'libx264' 'x264-dev')
   conflicts=('libx264' 'x264-dev')
 
-  install -d "$pkgdir"/usr/lib
-  make -C $pkgbase-10bit DESTDIR="$pkgdir" install-lib-shared
+  install -dm 755 "${pkgdir}"/usr/lib
+  make -C ${pkgbase}-10bit DESTDIR="${pkgdir}" install-lib-shared
 }
+
+# vim: ts=2 sw=2 et:

Reply via email to