updated on Mon Jan 23 04:00:55 UTC 2012
[aur-mirror.git] / alephone-marathon2 / PKGBUILD
blob4f1c4e25f8a8648d5c25fd16e4d3a7a1e0641956
1 # Contributor: rabyte <rabyte__gmail>
2 # Contributor: prettyvanilla <prettyvanilla@lavabit.com>
4 pkgname=alephone-marathon2
5 pkgver=20111201
6 pkgrel=1
7 pkgdesc="Marathon 2 scenario data files"
8 arch=('any')
9 url="http://marathon.sourceforge.net"
10 license=('custom')
11 depends=('alephone')
12 source=(http://files3.bungie.org/trilogy/Marathon2-$pkgver-Data.zip \
13         $pkgname.sh \
14         LICENSE)
15 md5sums=('59877a90efaf4e648a532d6dc371906a'
16          '2c0ae2cce57c375d694e89cf03515a77'
17          'f555a7637ee8c6de9d7a68fd5245401d')
19 package() {
20   cd "$srcdir"
22   find "Marathon 2" -type f -exec chmod 644 {} \;
24   mkdir -p "$pkgdir/usr/share/alephone/scenarios/marathon2"
25   cp -r "Marathon 2"/* "$pkgdir/usr/share/alephone/scenarios/marathon2"
26   install -Dm755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname.sh"
27   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"