Date: Monday, March 24, 2014 @ 09:35:07
  Author: bpiotrowski
Revision: 208531

upgpkg: x264 20140311-1

update to the latest commit from stable branch

Modified:
  x264/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-03-24 08:27:02 UTC (rev 208530)
+++ PKGBUILD    2014-03-24 08:35:07 UTC (rev 208531)
@@ -1,12 +1,12 @@
 # $Id$
 # Maintainer:  Ionut Biru <[email protected]>
-# Maintainer:  Bartłomiej Piotrowski <[email protected]>
+# Maintainer:  Bartłomiej Piotrowski <[email protected]>
 # Contributor: damir <[email protected]>
 # Contributor: Paul Mattal <[email protected]>
 
 pkgname=x264
-pkgver=20131030
-pkgrel=2
+pkgver=20140311
+pkgrel=1
 pkgdesc='Library for encoding H264/AVC video streams'
 arch=('i686' 'x86_64')
 url='http://www.videolan.org/developers/x264.html'
@@ -13,9 +13,14 @@
 license=('GPL')
 depends=('glibc')
 makedepends=('yasm' 'git')
-source=(git://git.videolan.org/x264.git#commit=c628e3bac)
+source=(git://git.videolan.org/x264.git#commit=aff928d2)
 md5sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git log -1 --format="%cd" --date=short | tr -d -
+}
+
 build() {
   cd $pkgname
 
@@ -27,6 +32,5 @@
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  make -C $pkgname DESTDIR="$pkgdir" install
 }

Reply via email to