Added X-Moto.

parent 34612729
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=libxdg-basedir
pkgver=1.1.1
pkgrel=1
pkgdesc="An implementation of the XDG Base Directory specifications."
arch=('i686' 'x86_64')
url="http://n.ethz.ch/student/nevillm/download/libxdg-basedir"
license=('MIT')
depends=('glibc')
source=(http://n.ethz.ch/student/nevillm/download/${pkgname}/${pkgname}-${pkgver}.tar.gz)
options=('!libtool')
sha1sums=('133b2b66a6ea43560f4ac41d1235d3282e31da84')
build() {
cd $srcdir/$pkgname-$pkgver
./configure \
--prefix=/usr
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
# License.
install -Dm644 $srcdir/libxdg-basedir-1.1.1/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=xmoto
pkgver=0.5.7
pkgrel=1
pkgdesc="A challenging 2D motocross platform game, where physics play an important role."
arch=('i686' 'x86_64')
url="http://xmoto.tuxfamily.org"
license=('GPL')
depends=('bzip2' 'libjpeg' 'libpng' 'lua' 'sdl_mixer' 'ode=0.11.1' 'curl'
'mesa' 'sqlite3' 'sdl_ttf' 'desktop-file-utils' 'sdl_net' 'libxdg-basedir')
source=("http://download.tuxfamily.org/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver-src.tar.gz")
md5sums=('c4b8477412445e114843b3b6163937f3')
build() {
cd $srcdir/$pkgname-$pkgver
./configure \
LDFLAGS="-L/usr/lib" \
--prefix=/usr \
--disable-sdltest
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir mangdir=/usr/share/man/man6 install
install -Dm0644 $srcdir/$pkgname-$pkgver/extra/xmoto.xpm \
$pkgdir/usr/share/pixmaps/xmoto.xpm
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment