diff options
Diffstat (limited to 'community/ffms2/PKGBUILD')
-rw-r--r-- | community/ffms2/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/ffms2/PKGBUILD b/community/ffms2/PKGBUILD new file mode 100644 index 000000000..bb2c78517 --- /dev/null +++ b/community/ffms2/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 97223 2013-09-15 13:32:52Z alucryd $$ +# Maintainer: Maxime Gauduin <alucryd@gmail.com> + +pkgname=ffms2 +pkgver=2.19 +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=('MIT') +depends=('ffmpeg') +replaces=('ffmpegsource') +options=('!libtool') +source=("https://github.com/FFMS/ffms2/archive/${pkgver}.tar.gz") +sha256sums=('6f1379514f03a14092fdfc9941960a9b86f5b78d86f9e000eeddf3bf50d42811') + +build() { + cd ${pkgname}-${pkgver} + + ./configure --prefix='/usr' --enable-shared --disable-static + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR="${pkgdir}" install + +# License + install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname} + install -m 644 {,"${pkgdir}"/usr/share/licenses/${pkgname}/}COPYING +} + +# vim: ts=2 sw=2 et: |