blob: 9a39c06f0dbca83bded79d266a1d039a297a5136 (
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
|
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=smpeg2
epoch=1
pkgver=2.0.0
pkgrel=1
pkgdesc="SDL2 MPEG Player Library"
arch=('i686' 'x86_64')
url="http://icculus.org/smpeg/"
license=('LGPL')
depends=('sdl2' 'gcc-libs')
makedepends=('svn')
source=("${pkgname}::svn://svn.icculus.org/smpeg/tags/release_${pkgver//./_}")
md5sums=('SKIP')
build() {
cd ${srcdir}/${pkgname}
./autogen.sh
./configure --prefix=/usr --mandir=/usr/share/man --disable-static
make
}
package() {
cd ${srcdir}/${pkgname}
make DESTDIR=${pkgdir} install
# hacky way of resolving conflicts
rm ${pkgdir}/usr/bin/plaympeg
rm -r ${pkgdir}/usr/share/man
}
|