summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e2e29f25bad68c3233c42848268fc68122f89566 (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
# Maintainer: SanskritFritz (gmail)

pkgname=celestia-addon-international_space_station
pkgver=1
pkgrel=2
pkgdesc="Celestia addon: Spacecraft: Earth Orbit: International Space Station"
arch=('any')
url='https://www.celestiamotherlode.net/addon/addon_293.html'
license=('unknown')
depends=('celestia')
makedepends=('unzip')
source=('https://www.celestiamotherlode.net/creators/orion_nebula/isstextures.zip'
        'https://www.celestiamotherlode.net/creators/orion_nebula/iss1.zip'
        'https://www.celestiamotherlode.net/creators/orion_nebula/iss2.zip'
        'https://www.celestiamotherlode.net/creators/orion_nebula/iss3.zip'
        'https://www.celestiamotherlode.net/creators/orion_nebula/iss4.zip'
        'https://www.celestiamotherlode.net/creators/orion_nebula/iss5.zip'
        'https://www.celestiamotherlode.net/creators/orion_nebula/iss6.zip'
        'https://www.celestiamotherlode.net/creators/orion_nebula/iss7.zip'
        'https://www.celestiamotherlode.net/creators/orion_nebula/iss8.zip'
        'https://www.celestiamotherlode.net/creators/orion_nebula/iss9.zip'
        'https://www.celestiamotherlode.net/creators/orion_nebula/iss10.zip'
        'https://www.celestiamotherlode.net/creators/orion_nebula/iss11.zip'
        'https://www.celestiamotherlode.net/creators/orion_nebula/iss12.zip'
        'https://www.celestiamotherlode.net/creators/orion_nebula/isscomplete.zip')

package() {
	mkdir --parents "$pkgdir"/usr/share/celestia/{extras,models,textures/medres}
	cd "$srcdir"
	cp *.ssc "$pkgdir/usr/share/celestia/extras/"
	cp *.3DS "$pkgdir/usr/share/celestia/models/"
	cp "#ISS-Evolution_lire.txt" "$pkgdir/usr/share/celestia/extras/"
	for file in *.bmp
		do mv $file `echo $file | sed 's/\(.*\)/\U\1/'`
	done
	cp *.BMP "$pkgdir/usr/share/celestia/textures/medres/"
}

md5sums=('8c29bee1e981f08d9003947fbc7dd91a'
         '3a9d4ff9e21d2f889af13c5226c38f76'
         '215d0012f6e7aae3c8ed4bd0a068e16a'
         '0113aa6e4301e475cb44803d40c508fc'
         '28d7679e01d413cee649ef8b861d0f63'
         '971295392a8b17fa24d2b50174c278d0'
         '57c4a342d3a228bde03080ba94f4be75'
         'd93807f3201644046bc8ca071807a18a'
         '0f25f3af177771128aa52f69965bda83'
         'cab2af968385f8a5f94c91adc5a02c37'
         '2836ce2ceb9e1dc80f47b716d3e78cfa'
         'cbfeca74474ea2be0eb2ffb052bc6942'
         'aa0d3b51b595b79c761bcdcdb2b3731a'
         '2ea57b66709eae748f8a6f96ffcf0854')