[arch-commits] Commit in ffms2/trunk (PKGBUILD)

Maxime Gauduin alucryd at nymeria.archlinux.org
Sat Apr 5 13:39:03 UTC 2014


    Date: Saturday, April 5, 2014 @ 15:39:02
  Author: alucryd
Revision: 108860

FS#39735: ffms2 2.19.r81.047b479-1

Modified:
  ffms2/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-04-05 12:42:40 UTC (rev 108859)
+++ PKGBUILD	2014-04-05 13:39:02 UTC (rev 108860)
@@ -2,26 +2,33 @@
 # Maintainer: Maxime Gauduin <alucryd at gmail.com>
 
 pkgname=ffms2
-pkgver=2.19
-pkgrel=2
+pkgver=2.19.r81.047b479
+pkgrel=1
 pkgdesc='A libav/ffmpeg based source library and Avisynth plugin for easy frame accurate access'
 arch=('i686' 'x86_64')
 url='https://github.com/FFMS/ffms2'
 license=('GPL')
 depends=('ffmpeg')
+makedepends=('git')
 provides=('vapoursynth-plugin-ffms2')
-source=("https://github.com/FFMS/ffms2/archive/${pkgver}.tar.gz")
-sha256sums=('6f1379514f03a14092fdfc9941960a9b86f5b78d86f9e000eeddf3bf50d42811')
+source=("git+https://github.com/FFMS/ffms2.git")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd ${pkgname}
+
+  printf "%s" "$(git describe --tags | sed 's/-/.r/; s/-g/./')"
+}
+
 build() {
-  cd ${pkgname}-${pkgver}
+  cd ${pkgname}
 
-  ./configure --prefix='/usr' --enable-shared --disable-static --enable-avresample
+  ./autogen.sh --prefix='/usr' --enable-shared --disable-static --enable-avresample
   make
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd ${pkgname}
 
   make DESTDIR="${pkgdir}" install
 




More information about the arch-commits mailing list