blob: bb2c7851711a355e9b5943319f99ac0c56030c48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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:
|