blob: 49d56fe5f8c7debdda1b89cfd9b8dedc9f2a3d10 (
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
|
# Contributor: Miguel de Val-Borro <miguel.deval [at] gmail [dot] com>
# Contributor: Matteo Paoluzzi <duwath [at] gmail [dot] com>
# Contributor: jmf <jmf [at] mesecons [dot] net>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=xephem
_pkgname=XEphem
pkgver=4.2.0
pkgrel=1
pkgdesc="The Serious Interactive Astronomical Software Ephemeris"
arch=('i686' 'x86_64')
url="https://github.com/XEphem/XEphem"
license=('custom:MIT')
depends=('libxmu' 'openmotif' 'perl' 'openssl')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
"xephem.desktop" "xephem.png")
sha256sums=('4d67b923e342e56b2a4a49f574e576fc183f1747edb693bab3709e83c8ad9c1b'
'aa4e19b043cea5f13dcb9314b794c7152510a20289bf20a077a586ca913c65be'
'fbca29143ecf5d89923ba6b68279cbc396886b229689dcd3b70999675bdb6c20')
build() {
cd ${_pkgname}-${pkgver}/GUI/$pkgname
make MOTIF=/usr/lib/
}
package() {
cd ${_pkgname}-${pkgver}/GUI/$pkgname
install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
install -d "$pkgdir"/usr/share/$pkgname
cp -R auxil "$pkgdir"/usr/share/$pkgname/
cp -R catalogs "$pkgdir"/usr/share/$pkgname/
cp -R fifos "$pkgdir"/usr/share/$pkgname/
cp -R fits "$pkgdir"/usr/share/$pkgname/
cp -R gallery "$pkgdir"/usr/share/$pkgname/
cp -R help "$pkgdir"/usr/share/$pkgname/
cp -R lo "$pkgdir"/usr/share/$pkgname/
install -Dm644 $pkgname.1 "$pkgdir"/usr/share/man/man1/$pkgname.1
install -d "$pkgdir"/usr/share/X11/app-defaults
echo "XEphem.ShareDir: /usr/share/xephem" > "$pkgdir"/usr/share/X11/app-defaults/XEphem
install -Dm755 "$srcdir/${pkgname}.desktop" "$pkgdir/usr/share/applications/${pkgname}.desktop"
install -Dm755 "$srcdir/${pkgname}.png" "$pkgdir/usr/share/pixmaps/${pkgname}.png"
install -Dm644 "$srcdir"/${_pkgname}-${pkgver}/LICENSE \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|