updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / alephone-marathon / PKGBUILD
blobd16aaf6cd6bd78c3204c5ec20513cc9f51276a73
1 # Maintainer: Marcin Skory <armitage at gfreedom dot org>
2 # Contributor: Christoph Zeiler <rabyte*gmail>
3 # Contributor: prettyvanilla <prettyvanilla@lavabit.com>
4 # Contributor: Mitchel Humpherys <mitch.special@gmail.com>
6 pkgname=alephone-marathon
7 pkgver=20111201
8 pkgrel=1
9 pkgdesc="Marathon 1 scenario data files"
10 arch=('any')
11 url="http://marathon.sourceforge.net/"
12 license=('custom')
13 depends=('alephone')
14 conflicts=('alephone-m1a1')
15 replaces=('alephone-m1a1')
16 source=(http://files3.bungie.org/trilogy/Marathon-$pkgver-Data.zip \
17         $pkgname.sh \
18         LICENSE)
19 md5sums=('f0bb9b341e00adbfd3ed03fa266694d7'
20          'd99b3c33e451d850e2404725aee55a11'
21          'f555a7637ee8c6de9d7a68fd5245401d')
22 sha1sums=('fb2e628b99e45cc7756a846d203893977e643ef2'
23           'ea2c5b10f0d09161511473353188aeef836049d0'
24           'efdf07021e7015a62a158e6a77a54eb92b287082')
25 sha512sums=('008fd68df8b26504592ef30c3362689e7f3c95710e3a8f6fcae21e95f661e15181286a602356297abf87d3758cbc05d0697f71661071acb257cecb38b71a049e'
26             'fceac2321aa7cc236791773e3f106ea07a4b2b01f48d42afbe45a394cb4088ceb69c53b3a845ed7fc97e01a2138d6870b9d17f9a144b72c1ddb6acc2449c2a98'
27             '09f1e1bea5a50a1301477c065973e67e5a26d7036f9322db84f8366957e62c055b8d9f7ccd78f4f08cb87d25c1967dec2e850896735b84530c3e8cb6128faf59')
29 package() {
30   find "Marathon (A1)" -type f -exec chmod 644 {} \;
32   mkdir -p "$pkgdir"/usr/share/alephone/scenarios
33   cp -rf "Marathon (A1)" "$pkgdir"/usr/share/alephone/scenarios/marathon/
35   install -Dm755 $pkgname.sh "$pkgdir"/usr/bin/$pkgname
36   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE