[arch-commits] Commit in yabause-gtk/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Fri Dec 12 10:22:54 UTC 2014
Date: Friday, December 12, 2014 @ 11:22:54
Author: alucryd
Revision: 123802
upgpkg: yabause-gtk 0.9.14-1
Modified:
yabause-gtk/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-12-12 10:16:24 UTC (rev 123801)
+++ PKGBUILD 2014-12-12 10:22:54 UTC (rev 123802)
@@ -1,5 +1,5 @@
# $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
# Contributor: Harley Laue <losinggeneration at gmail.com>
# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
# Contributor: Anton Shestakov <engoredi at ya.ru>
@@ -7,8 +7,8 @@
# Contributor: robb_force <robb_force at holybuffalo.net>
pkgname=yabause-gtk
-pkgver=0.9.13
-pkgrel=2
+pkgver=0.9.14
+pkgrel=1
pkgdesc='A Sega Saturn emulator'
arch=('i686' 'x86_64')
url="http://yabause.org/"
@@ -16,18 +16,19 @@
depends=('freeglut' 'gtkglext' 'openal' 'sdl')
makedepends=('cmake')
conflicts=('yabause-qt')
-source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname%-*}-${pkgver}.tar.gz" 'rwx.patch')
-sha256sums=('3913f9c57bb65912eb22a339ec6f9413e0c00c11105baeae6a165b84ad4d32fb'
+source=("http://downloads.sourceforge.net/yabause/yabause-${pkgver}.tar.gz"
+ 'rwx.patch')
+sha256sums=('75e6320873ef6f8ec956568bff5a8f3b67500bdf52a7e0aa88e0a554b2dd775a'
'd29997d3249683081a2687f31e777f917093101d56815d22103aaaf22ac786b1')
prepare() {
- cd ${pkgname%-*}-${pkgver}
+ cd yabause-${pkgver}
patch -Np1 -i ../rwx.patch
}
build() {
- cd ${pkgname%-*}-${pkgver}
+ cd yabause-${pkgver}
if [[ -d build ]]; then
rm -rf build
@@ -34,14 +35,18 @@
fi
mkdir build && cd build
- cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_BUILD_TYPE='Release' -DYAB_{PORTS='gtk',{NETWORK,OPTIMIZED_DMA}='ON'}
+ cmake .. \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DYAB_PORTS='gtk' \
+ -DYAB_NETWORK='ON' \
+ -DYAB_OPTIMIZED_DMA='ON'
make
}
package() {
- cd ${pkgname%-*}-${pkgver}/build
+ cd yabause-${pkgver}/build
-# Install
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list