[arch-commits] Commit in yabause-qt/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Fri Dec 12 11:19:00 UTC 2014
Date: Friday, December 12, 2014 @ 12:18:59
Author: alucryd
Revision: 123810
upgpkg: yabause-qt 0.9.14-1
Modified:
yabause-qt/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++++++++++---------
1 file changed, 15 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-12-12 10:50:51 UTC (rev 123809)
+++ PKGBUILD 2014-12-12 11:18:59 UTC (rev 123810)
@@ -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-qt
-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' 'openal' 'qt4' 'sdl')
makedepends=('cmake' 'glu')
conflicts=('yabause-gtk')
-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,12 +35,17 @@
fi
mkdir build && cd build
- cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_BUILD_TYPE='Release' -DYAB_{PORTS='qt',{NETWORK,OPTIMIZED_DMA}='ON'}
+ cmake .. \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DYAB_PORTS='qt' \
+ -DYAB_NETWORK='ON' \
+ -DYAB_OPTIMIZED_DMA='ON'
make
}
package() {
- cd ${pkgname%-*}-${pkgver}/build
+ cd yabause-${pkgver}/build
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list