blob: 136e4a7a681acac9258c11c6165fa904e443387d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Maintainer: bobpaul <aurpackage [at] bobpaul 'period' org>
# This package is weird and needs some re-thinking
# Upstream wants to store the settings in the installation directory like an old MSDos program
# Instead I include a launcher script which uses a bunch of simlinks to run the game from
# ~/.config/onelife which ensures your settings stay in your home folder
#
# ... there's gotta be a better way
pkgname="onehouronelife-bin"
pkgver="58"
pkgrel=2
epoch=
pkgdesc="Binary package for One Hour One Life game by Jason Rohrer"
arch=('x86_64')
url="http://onehouronelife.com"
license=('custom:Public Domain')
groups=()
depends=("xclip" "lib32-sdl")
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
_folder=OneLife_v${pkgver}
_tarname=${_folder}_Linux
source=(http://download5.onehouronelife.com/downloads/$_tarname.tar.gz)
#source=(git+https://github.com/jasonrohrer/OneLifeData7.git
# git+https://github.com/jasonrohrer/minorGems.git
# git+https://github.com/jasonrohrer/OneLife.git
# )
noextract=()
sha256sums=('1099672b88ab7e4e801a22a24a36195e2f59a76345224cb7e9bd73c91cea99a9')
#sha256sums=( 'SKIP'
# 'SKIP'
# 'SKIP')
validpgpkeys=()
prepare() {
cd $_folder
mv settings settings_default
}
#build() {
#}
#check() {
# cd "$pkgname-$pkgver"
# make -k check
#}
package() {
install -dm755 $pkgdir/opt/$pkgname
cp -r $_folder/* $pkgdir/opt/$pkgname/
install -m755 $startdir/onelife $pkgdir/opt/$pkgname
install -dm755 $pkgdir/usr/local/bin
ln -s /opt/$pkgname/onelife $pkgdir/usr/local/bin/onelife
ln -s /opt/$pkgname/no_copyright.txt $pkgdir/opt/$pkgname/LICENSE
}
|