summaryrefslogtreecommitdiff
path: root/community/ffms2
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-06 03:44:19 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-06 03:44:19 +0000
commit38eab99b0f820f0d7720c7bc4c1dab4a7d5eaeab (patch)
tree45f0da5464a9e95bb5fbbf579094741cf6c66317 /community/ffms2
parent12c37e7b5594be3af3c03e543648b2a1c430bdcc (diff)
Sun Apr 6 03:39:50 UTC 2014
Diffstat (limited to 'community/ffms2')
-rw-r--r--community/ffms2/PKGBUILD23
1 files changed, 15 insertions, 8 deletions
diff --git a/community/ffms2/PKGBUILD b/community/ffms2/PKGBUILD
index 9223888cc..21cb225b1 100644
--- a/community/ffms2/PKGBUILD
+++ b/community/ffms2/PKGBUILD
@@ -1,27 +1,34 @@
-# $Id: PKGBUILD 105637 2014-02-12 15:41:55Z alucryd $$
+# $Id: PKGBUILD 108861 2014-04-05 13:39:12Z alucryd $$
# Maintainer: Maxime Gauduin <alucryd@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