Commit 69a2a7d2 authored by Samir's avatar Samir

fix missing text ingame

parent 55888db4
......@@ -7,15 +7,17 @@
pkgname=ufoai
pkgver=2.4
pkgrel=1
pkgrel=2
pkgdesc="In UFO: Alien Invasion you fight aliens trying to capture Earth"
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://ufoai.ninex.info/"
license=('GPL2')
depends=('libjpeg' 'libgl' 'libpng' 'curl' 'sdl_image' 'sdl_mixer' 'sdl_ttf' 'xvidcore' 'ufoai-data')
makedepends=('mesa')
source=(http://downloads.sourceforge.net/project/ufoai/UFO_AI%202.x/$pkgver/ufoai-$pkgver-source.tar.bz2)
md5sums=('d7e88aee0ea94149c8b9d90eb6c21ba9')
source=(http://downloads.sourceforge.net/project/ufoai/UFO_AI%202.x/$pkgver/ufoai-$pkgver-source.tar.bz2
ufo.sh)
md5sums=('d7e88aee0ea94149c8b9d90eb6c21ba9'
'f3665bf49894cc2fa1709c6ddf320308')
build() {
cd "$srcdir"/$pkgname-$pkgver-source
......@@ -33,12 +35,16 @@ build() {
package() {
cd "$srcdir"/$pkgname-$pkgver-source
install -Dm755 ufo "$pkgdir"/usr/bin/ufo
install -Dm755 ufoded "$pkgdir"/usr/bin/ufoded
install -Dm755 ufo2map "$pkgdir"/usr/bin/ufo2map
install -Dm755 ufomodel "$pkgdir"/usr/bin/ufomodel
install -Dm755 ufo "$pkgdir"/usr/share/ufoai/ufo
install -Dm755 ufoded "$pkgdir"/usr/share/ufoai/ufoded
install -Dm755 ufo2map "$pkgdir"/usr/share/ufoai/ufo2map
install -Dm755 ufomodel "$pkgdir"/usr/share/ufoai/ufomodel
install -Dm755 "${srcdir}"/ufo.sh "$pkgdir"/usr/bin/ufo
ln -s /usr/share/ufoai/ufoded "${pkgdir}"/usr/bin/
ln -s /usr/share/ufoai/ufo2map "${pkgdir}"/usr/bin/
ln -s /usr/share/ufoai/ufomodel "${pkgdir}"/usr/bin/
mkdir -p "$pkgdir"/usr/share/ufoai
cp -r base "$pkgdir"/usr/share/ufoai/
install -Dm644 debian/ufoai.desktop "$pkgdir"/usr/share/applications/ufoai.desktop
......
#!/bin/bash
cd /usr/share/ufoai
./ufo +set fs_basedir /usr/share/ufoai/base/ +set fs_i18ndir /usr/share/ufoai/base/i18n/ "$*"
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