summaryrefslogtreecommitdiff
path: root/extra/smpeg2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/smpeg2/PKGBUILD')
-rw-r--r--extra/smpeg2/PKGBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/extra/smpeg2/PKGBUILD b/extra/smpeg2/PKGBUILD
index 1f7dd4856..9a39c06f0 100644
--- a/extra/smpeg2/PKGBUILD
+++ b/extra/smpeg2/PKGBUILD
@@ -1,29 +1,27 @@
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=smpeg2
-pkgver=412
-pkgrel=2
+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')
-makedepends=('gtk' 'mesa' 'glu' 'svn')
-optdepends=('gtk: to use gtv ' 'glu: to use glmovie')
-options=('!libtool')
-source=(svn://svn.icculus.org/smpeg/trunk#revision=$pkgver)
+depends=('sdl2' 'gcc-libs')
+makedepends=('svn')
+source=("${pkgname}::svn://svn.icculus.org/smpeg/tags/release_${pkgver//./_}")
md5sums=('SKIP')
build() {
- cd ${srcdir}/trunk
- sed -i s/SDL_CONFIG/SDL2_CONFIG/g smpeg2-config.in
+ cd ${srcdir}/${pkgname}
./autogen.sh
./configure --prefix=/usr --mandir=/usr/share/man --disable-static
make
}
package() {
- cd ${srcdir}/trunk
+ cd ${srcdir}/${pkgname}
make DESTDIR=${pkgdir} install
# hacky way of resolving conflicts