blob: 3b8ee65e4de988b4efef121b58167d90e3aad2a1 (
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$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=smpeg
pkgver=0.4.5
pkgrel=3
pkgdesc="SDL MPEG Player Library"
arch=(x86_64)
url="https://icculus.org/smpeg/"
license=(LGPL)
depends=(sdl)
makedepends=(mesa glu subversion)
optdepends=('glu: to use glmovie')
source=("$pkgname-$pkgver::svn://svn.icculus.org/smpeg/tags/release_${pkgver//./_}")
sha256sums=('SKIP')
prepare() {
cd $pkgname-$pkgver
./autogen.sh
}
build() {
cd $pkgname-$pkgver
CFLAGS+=" -Wno-error=narrowing"
./configure --prefix=/usr --mandir=/usr/share/man --disable-static
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
|