diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-01-08 23:40:30 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-01-08 23:40:30 -0200 |
commit | 870896c527a88711305be188d6fbb401fb0c65db (patch) | |
tree | bfc3fff65a066956d7ee762684b22f6ed4eea388 /pcr/yabause-svn/PKGBUILD | |
parent | 737dd2627f2e563d71b13256c337d60baff5e80d (diff) | |
download | abslibre-870896c527a88711305be188d6fbb401fb0c65db.tar.gz abslibre-870896c527a88711305be188d6fbb401fb0c65db.tar.bz2 abslibre-870896c527a88711305be188d6fbb401fb0c65db.zip |
yabause-svn: adding new package to [pcr] repo
Diffstat (limited to 'pcr/yabause-svn/PKGBUILD')
-rw-r--r-- | pcr/yabause-svn/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pcr/yabause-svn/PKGBUILD b/pcr/yabause-svn/PKGBUILD new file mode 100644 index 000000000..7d1f17d96 --- /dev/null +++ b/pcr/yabause-svn/PKGBUILD @@ -0,0 +1,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" +} |