mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 00:07:16 +08:00
Merge branch 'master' of gitorious.org:chakra-packages/games
This commit is contained in:
commit
ed624a996c
22
0ad/PKGBUILD
22
0ad/PKGBUILD
@ -7,28 +7,33 @@
|
|||||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
pkgname=0ad
|
pkgname=0ad
|
||||||
pkgver=alpha_3
|
pkgver=alpha_4
|
||||||
_pkgver=r08832-alpha
|
_pkgver=r09049-alpha
|
||||||
pkgrel=4
|
pkgrel=1
|
||||||
pkgdesc="Cross-platform, 3D and historically-based real-time strategy game."
|
pkgdesc="Cross-platform, 3D and historically-based real-time strategy game."
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://wildfiregames.com/0ad"
|
url="http://wildfiregames.com/0ad"
|
||||||
license=('GPL2' 'CCPL')
|
license=('GPL2' 'CCPL')
|
||||||
depends=('binutils' 'boost' 'crypto++' 'devil' 'enet' 'fam' 'libogg' 'libpng' 'libvorbis' 'libxml2' 'mesa' 'nasm' 'openal' 'python2' 'sdl' 'zip' 'zlib')
|
depends=('binutils' 'boost' 'crypto++' 'curl' 'devil' 'enet' 'fam' 'libogg' 'libpng' 'libvorbis' 'libxml2' 'mesa' 'nasm' 'openal' 'python2' 'sdl' 'zip' 'zlib')
|
||||||
makedepends=('cmake')
|
makedepends=('cmake')
|
||||||
changelog=ChangeLog
|
changelog=ChangeLog
|
||||||
source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz"
|
source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz"
|
||||||
"http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-data.tar.xz"
|
"http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-data.tar.xz"
|
||||||
"$pkgname.sh"
|
"$pkgname.sh"
|
||||||
"$pkgname-nogtk.patch")
|
"$pkgname-nogtk.patch")
|
||||||
md5sums=('b9df52751596633d9aab4cc3b253cb82'
|
md5sums=('3ebb1b322cd947c855da75828ebcd539'
|
||||||
'38abc29fc714946ed17ac86ac67fb614'
|
'30c289cdbffd552cc29e62778cd718d4'
|
||||||
'27c6ee0a240c3ea481d08aa7e8e5158b'
|
'27c6ee0a240c3ea481d08aa7e8e5158b'
|
||||||
'7bb8119a4d611cdffa05177ea2603151')
|
'7bb8119a4d611cdffa05177ea2603151')
|
||||||
|
|
||||||
build(){
|
build()
|
||||||
|
{
|
||||||
cd $srcdir/$pkgname-$_pkgver/build/workspaces
|
cd $srcdir/$pkgname-$_pkgver/build/workspaces
|
||||||
|
|
||||||
patch -uN update-workspaces.sh $srcdir/$pkgname-nogtk.patch
|
patch -uN update-workspaces.sh $srcdir/$pkgname-nogtk.patch
|
||||||
|
|
||||||
|
export CHOST="$CARCH-pc-linux-gnu"
|
||||||
|
|
||||||
./update-workspaces.sh
|
./update-workspaces.sh
|
||||||
|
|
||||||
cd $srcdir/$pkgname-$_pkgver/build/workspaces/gcc
|
cd $srcdir/$pkgname-$_pkgver/build/workspaces/gcc
|
||||||
@ -36,7 +41,8 @@ build(){
|
|||||||
CONFIG=Debug make
|
CONFIG=Debug make
|
||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package()
|
||||||
|
{
|
||||||
install -d $pkgdir/usr/share/$pkgname
|
install -d $pkgdir/usr/share/$pkgname
|
||||||
cp -r $srcdir/$pkgname-$_pkgver/binaries/* $pkgdir/usr/share/$pkgname
|
cp -r $srcdir/$pkgname-$_pkgver/binaries/* $pkgdir/usr/share/$pkgname
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user