mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:57:13 +08:00
24 lines
523 B
Bash
24 lines
523 B
Bash
pkgname=smpeg
|
|
pkgver=0.4.5
|
|
pkgrel=2
|
|
pkgdesc="SDL MPEG Player Library"
|
|
arch=('x86_64')
|
|
url="http://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//./_}")
|
|
md5sums=('SKIP')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./autogen.sh
|
|
./configure --prefix=/usr --mandir=/usr/share/man --disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
} |