summaryrefslogtreecommitdiff
path: root/community/ufoai
diff options
context:
space:
mode:
Diffstat (limited to 'community/ufoai')
-rw-r--r--community/ufoai/PKGBUILD45
-rw-r--r--community/ufoai/ufo-ai-2.3.1-libpng15.patch10
2 files changed, 0 insertions, 55 deletions
diff --git a/community/ufoai/PKGBUILD b/community/ufoai/PKGBUILD
deleted file mode 100644
index 670deb600..000000000
--- a/community/ufoai/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 70141 2012-04-30 15:53:06Z svenstaro $
-# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
-# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
-pkgname=ufoai
-pkgver=2.4
-pkgrel=2
-pkgdesc="In UFO: Alien Invasion you fight aliens trying to capture Earth"
-arch=('i686' 'x86_64')
-url="http://ufoai.ninex.info/"
-license=('GPL')
-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')
-
-build() {
- cd "$srcdir"/$pkgname-$pkgver-source
-
- ./configure --prefix=/usr --datadir=/usr/share/ufoai --enable-release --localedir=/usr/share/ufoai/base/i18n/
- make
- make lang
-}
-
-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
-
- mkdir -p "$pkgdir"/usr/share/ufoai
- cp -r base "$pkgdir"/usr/share/ufoai/
-
- install -Dm644 debian/ufoai.desktop "$pkgdir"/usr/share/applications/ufoai.desktop
- install -Dm644 debian/ufoai-safe.desktop "$pkgdir"/usr/share/applications/ufoai-safe.desktop
- install -Dm644 debian/ufoded.desktop "$pkgdir"/usr/share/applications/ufoded.desktop
-
- sed -i 's|/usr/games/||' "$pkgdir"/usr/share/applications/*
-
- install -Dm644 debian/ufoai.xpm "$pkgdir"/usr/share/pixmaps/ufoai.xpm
- install -Dm644 debian/ufoded.xpm "$pkgdir"/usr/share/pixmaps/ufoded.xpm
-}
-
-# vim: sw=2:ts=2 et:
diff --git a/community/ufoai/ufo-ai-2.3.1-libpng15.patch b/community/ufoai/ufo-ai-2.3.1-libpng15.patch
deleted file mode 100644
index 2099f7ab7..000000000
--- a/community/ufoai/ufo-ai-2.3.1-libpng15.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/shared/images.c.old 2011-04-02 19:31:52.000000000 +0200
-+++ src/shared/images.c 2011-04-02 19:32:13.000000000 +0200
-@@ -32,6 +32,7 @@
-
- #include <jpeglib.h>
- #include <png.h>
-+#include <zlib.h>
-
- /** image formats, tried in this order */
- static char *IMAGE_TYPES[] = { "tga", "png", "jpg", NULL };