blob: 7d1f17d9638456ac9982eb8db01ff45854715e07 (
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
35
36
37
38
39
|
pkgname=yabause-svn
pkgver=3010
pkgrel=1
pkgdesc="A Sega Saturn emulator. (svn)"
arch=(i686 x86_64)
license=("GPL")
depends=(gtkglext sdl freeglut glu)
makedepends=(subversion mesa)
url="http://yabause.org"
conflicts=(yabause yabause-qt yabause-qt-svn)
provides=(yabause)
_svntrunk="https://yabause.svn.sourceforge.net/svnroot/yabause/trunk"
_svnmod="yabause"
build() {
cd "${srcdir}"
if [ -d "${_svnmod}/.svn" ]; then
(cd "$_svnmod" && svn up -r $pkgver)
else
svn co "$_svntrunk" --config-dir ./ -r $pkgver $_svnmod
fi
msg 'SVN checkout done or server timeout'
rm -rf "${_svnmod}-build"
cp -r "$_svnmod" "${_svnmod}-build"
cd "${_svnmod}-build/yabause"
./autogen.sh
./configure --prefix=/usr LIBS="-lm"
make
}
package() {
cd "${srcdir}/${_svnmod}-build/yabause"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
|