diff options
author | Christian Krause | 2016-03-18 01:16:18 +0100 |
---|---|---|
committer | Christian Krause | 2016-03-18 01:16:18 +0100 |
commit | 8597b8644ea1d20b6f46ab15a2798da599252074 (patch) | |
tree | 3e38e7b22e56fc341f5340b715a858643b8f7a79 | |
download | aur-8597b8644ea1d20b6f46ab15a2798da599252074.tar.gz |
freeorion-0.4.5-1
-rw-r--r-- | .SRCINFO | 31 | ||||
-rw-r--r-- | PKGBUILD | 40 | ||||
-rw-r--r-- | freeorion.install | 12 |
3 files changed, 83 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d4e316693e3b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,31 @@ +# Generated by mksrcinfo v8 +# Thu Mar 17 21:05:47 UTC 2016 +pkgbase = freeorion + pkgdesc = turn-based space empire and galactic conquest (4X) computer game + pkgver = 0.4.5 + pkgrel = 1 + url = https://github.com/freeorion/freeorion/ + install = freeorion.install + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = boost + makedepends = cmake + depends = boost-libs + depends = python2 + depends = sdl2 + depends = libvorbis + depends = glew + depends = libtiff + depends = libjpeg-turbo + depends = openal + depends = hicolor-icon-theme + depends = freetype2 + conflicts = freeorion-git + source = https://github.com/freeorion/freeorion/releases/download/v0.4.5/FreeOrion_v0.4.5_2015-09-01.f203162_Source.tar.gz + source = freeorion.install + md5sums = 706b8e9ab2ee29575a927e6f1c772d61 + md5sums = bdbd69c55fa91add1f8b17ad7f23ee6d + +pkgname = freeorion + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7c3630d073a2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com> + +pkgname=freeorion +pkgver=0.4.5 +pkgrel=1 +pkgdesc="turn-based space empire and galactic conquest (4X) computer game" +arch=('i686' 'x86_64') +url="https://github.com/freeorion/freeorion/" +license=('GPL2') +depends=('boost-libs' 'python2' 'sdl2' 'libvorbis' 'glew' 'libtiff' 'libjpeg-turbo' 'openal' 'hicolor-icon-theme' 'freetype2') +makedepends=('boost' 'cmake') +install=freeorion.install +conflicts=('freeorion-git') +source=("https://github.com/freeorion/freeorion/releases/download/v${pkgver}/FreeOrion_v${pkgver}_2015-09-01.f203162_Source.tar.gz" + 'freeorion.install') +md5sums=('706b8e9ab2ee29575a927e6f1c772d61' + 'bdbd69c55fa91add1f8b17ad7f23ee6d') + +prepare() { + cd $srcdir/src-tarball + + mkdir -p build +} + +build() { + cd $srcdir/src-tarball/build + + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + .. + + make +} + +package() { + cd $srcdir/src-tarball/build + + make DESTDIR=$pkgdir install +} diff --git a/freeorion.install b/freeorion.install new file mode 100644 index 000000000000..273c67fb9836 --- /dev/null +++ b/freeorion.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |