mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 14:34:42 +01:00
openanno-archive: 0.1 (new package)
Upon request.
This commit is contained in:
commit
400c71bf98
2 changed files with 71 additions and 0 deletions
24
.SRCINFO
Normal file
24
.SRCINFO
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
pkgbase = openanno-archive
|
||||
pkgdesc = Very early and completely broken ancestor of the real-time strategy game Unknown Horizons. Git version.
|
||||
pkgver = 0.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/GreyGhost/OpenAnno-Archive
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
makedepends = cmake
|
||||
makedepends = git
|
||||
depends = sdl
|
||||
depends = sdl_gfx
|
||||
depends = sdl_image
|
||||
depends = sdl_ttf
|
||||
depends = sdl_mixer
|
||||
depends = physfs
|
||||
depends = gettext
|
||||
optdepends = unknown-horizons: The game developed starting from here
|
||||
source = openanno-archive::git+https://github.com/GreyGhost/OpenAnno-Archive.git
|
||||
md5sums = SKIP
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = openanno-archive
|
||||
|
||||
47
PKGBUILD
Normal file
47
PKGBUILD
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# Maintainer: Chris Oelmueller <chris.oelmueller@gmail.com>
|
||||
pkgname=openanno-archive
|
||||
pkgver=0.1
|
||||
pkgrel=1
|
||||
pkgdesc="Very early and completely broken ancestor of the real-time strategy game Unknown Horizons. Git version."
|
||||
arch=('i686' 'x86_64')
|
||||
url=https://github.com/GreyGhost/OpenAnno-Archive
|
||||
license=('GPL')
|
||||
depends=('sdl' 'sdl_gfx' 'sdl_image' 'sdl_ttf' 'sdl_mixer'
|
||||
'physfs' 'gettext')
|
||||
makedepends=('cmake' 'git')
|
||||
optdepends=('unknown-horizons: The game developed starting from here')
|
||||
source=($pkgname::git+https://github.com/GreyGhost/OpenAnno-Archive.git)
|
||||
|
||||
_where="$pkgname/CPP_0_1"
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$_where"
|
||||
# Fix linker trouble with lua not accepting `-ldl`
|
||||
# Apparently there is no way of passing FLAGS as env var here
|
||||
sed -i -e 's@openanno lua tinyxml@& dl@g' "src/CMakeLists.txt"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_where"
|
||||
cmake -Wno-dev .
|
||||
make -j4
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_where"
|
||||
|
||||
# Even `make install` appears to be broken...
|
||||
#make DESTDIR="$pkgdir/" install
|
||||
|
||||
msg "Manually copying data to /opt/ since ``make install`` appears broken."
|
||||
mkdir -p "$pkgdir/opt/OpenAnno/data"
|
||||
cp -r src/openanno "$pkgdir/opt/OpenAnno/"
|
||||
cp -r data/* "$pkgdir/opt/OpenAnno/data/"
|
||||
cp icon.png "$pkgdir/opt/OpenAnno/"
|
||||
msg "To launch:"
|
||||
msg2 "cd /opt/OpenAnno/"
|
||||
msg2 "./openanno"
|
||||
}
|
||||
|
||||
md5sums=('SKIP')
|
||||
sha256sums=('SKIP')
|
||||
Loading…
Add table
Reference in a new issue