summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCarsten Teibes2014-12-30 05:05:40 +0100
committerCarsten Teibes2014-12-30 05:05:40 +0100
commit1f55465e156bbf1d92a38da5aa4e64044c08dd42 (patch)
tree95cb57d139ebf7f872a0f8fd4104c2db830b6be5 /PKGBUILD
parent217c3cc432e9dd3a59e55340741dff4a7ee0cdd9 (diff)
downloadaur-1f55465e156bbf1d92a38da5aa4e64044c08dd42.tar.gz
[fix] Remove unneeded dependency ffmpeg-compat, add
icons for Marathon trilogy scenarios Confirm alephone-evil and alephone-eternalx as tested.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 17 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3b649df6e63..32792132767 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,24 +7,24 @@
pkgname=alephone
_pkgdate=20140104
pkgver=1.1_$_pkgdate
-pkgrel=2
+pkgrel=3
pkgdesc='A free, enhanced port of the classic FPS "Marathon 2" by Bungie Software'
arch=('i686' 'x86_64')
url="http://marathon.sourceforge.net/"
license=('GPL3')
depends=('sdl_ttf' 'sdl_image' 'sdl_net' 'libmad' 'glu' 'mesa' 'zziplib'
- 'ffmpeg' 'ffmpeg-compat')
+ 'ffmpeg')
# todo: figure out, if they are all compatible
optdepends=('alephone-emr: community-made scenario'
- 'alephone-eternalx: community-made scenario'
- 'alephone-evil: community-made scenario'
+ 'alephone-eternalx: community-made scenario' # ok!
+ 'alephone-evil: community-made scenario' # ok!
'alephone-infinity: original data for Marathon Infinity' # ok!
'alephone-marathon: M1A1 data converted for AlephOne' # ok!
'alephone-marathon2: original data for Marathon 2: Durandal' # ok!
'alephone-red: community-made scenario'
'alephone-rubiconx: community-made scenario'
'alephone-tempus_irae: community-made scenario')
-makedepends=('boost' 'lua')
+makedepends=('boost' 'lua' 'icoutils')
source=("http://downloads.sourceforge.net/marathon/AlephOne-$_pkgdate.tar.bz2"
"http://downloads.sourceforge.net/marathon/README.md"
"$pkgname-r5002-remove-deprecated-ffmpeg-quality-setting.diff"
@@ -49,6 +49,13 @@ prepare() {
# lowercase for (folder) name
sed "s|PACKAGE='AlephOne'|PACKAGE='alephone'|g" -i configure
+
+ # convert the windows icons
+ cd Resources/Windows
+ icotool -x -w 48 alephone.ico -o ../alephone.png
+ icotool -x -w 48 marathon.ico -o ../alephone-marathon.png
+ icotool -x -w 48 marathon2.ico -o ../alephone-marathon2.png
+ icotool -x -w 48 marathon-infinity.ico -o ../alephone-infinity.png
}
build() {
@@ -62,6 +69,11 @@ package() {
cd AlephOne-$_pkgdate
make DESTDIR="$pkgdir/" install
+
+ # icons
+ install -d "$pkgdir"/usr/share/icons
+ install -m644 Resources/*.png "$pkgdir"/usr/share/icons
+
# docs
install -Dm644 ../README.md "$pkgdir"/usr/share/doc/$pkgname/README-1.1.md
install -m644 README docs/*.html "$pkgdir"/usr/share/doc/$pkgname