Browse Source

Add XEphem (with desktop shortcut + image)

master
Fincer 7 years ago
parent
commit
a6ce57ae2f
4 changed files with 82 additions and 0 deletions
  1. +17
    -0
      Readme.md
  2. +55
    -0
      xephem/PKGBUILD
  3. +10
    -0
      xephem/xephem.desktop
  4. BIN
      xephem/xephem.png

+ 17
- 0
Readme.md View File

@ -265,9 +265,26 @@ A Python-based GUI for creating Wine application launchers/Desktop shortcuts.
FORMAT: Arch Linux PKGBUILD script + source archive.
**xephem**
--------------
A Serious Interactive Astronomical Software Ephemeris.
Includes a custom desktop shortcut image & desktop shortcut which are not included in the AUR package.
Homepage:
[XEphem](http://www.clearskyinstitute.com/xephem/)
FORMAT: Arch Linux PKGBUILD script + desktop shortcut + custom desktop shortcut image.
**zsnes-netplay**
--------------
ZSnes Nintendo SNES emulator for Linux. Netplay version.
Homepage:
[ZSnes Emulator](http://www.zsnes.com/)
FORMAT: Arch Linux PKGBUILD script + source archive + patch files.

+ 55
- 0
xephem/PKGBUILD View File

@ -0,0 +1,55 @@
# Maintainer: Miguel de Val-Borro <miguel@archlinux.net>
# Contributor: Matteo Paoluzzi <duwath [at] gmail [dot] com>
# Contributor: jmf <jmf [at] mesecons [dot] net>
pkgname=xephem
pkgver=3.7.7
pkgrel=4
pkgdesc="The Serious Interactive Astronomical Software Ephemeris"
arch=('i686' 'x86_64')
url="http://www.clearskyinstitute.com/xephem/xephem.html"
license=("custom")
depends=(libxmu lesstif)
makedepends=()
optdepends=(perl)
source=(http://www.clearskyinstitute.com/xephem/$pkgname-$pkgver.tgz "$pkgname.png" "$pkgname.desktop")
md5sums=('27c67061a89085bf2b0d4e9deb758a79'
'a0debbe05d0831e4cbddc6d9d378b6d1'
'c8d6ab9e96d6bb2f634c9ac749e3383d')
build() {
#cd ${srcdir}/$pkgname-$pkgver/
cd ${srcdir}/${pkgname}-${pkgver}/GUI/$pkgname
export MAKEFLAGS="-j1"
make MOTIF=/usr/lib/
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}/GUI/$pkgname
mkdir -p ${pkgdir}/usr/bin
cp ${srcdir}/${pkgname}-${pkgver}/GUI/$pkgname/xephem ${pkgdir}/usr/bin/
mkdir -p ${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/
mkdir -p ${pkgdir}/usr/share/man/man1/
cp xephem.1 ${pkgdir}/usr/share/man/man1/
# mkdir -p ${pkgdir}/usr/lib/X11/app-defaults
# echo "XEphem.ShareDir: /usr/share/xephem" > ${pkgdir}/usr/lib/X11/app-defaults/XEphem
mkdir -p ${pkgdir}/usr/share/X11/app-defaults
echo "XEphem.ShareDir: /usr/share/xephem" > ${pkgdir}/usr/share/X11/app-defaults/XEphem
mkdir -p ${pkgdir}/usr/share/licenses/$pkgname/
cp ${srcdir}/${pkgname}-${pkgver}/Copyright ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
}

+ 10
- 0
xephem/xephem.desktop View File

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=XEphem
Comment=Interactive Astronomical Software Ephemeris
Exec=xephem
Icon=/usr/share/pixmaps/xephem.png
Terminal=false
Type=Application
Categories=Education;Science;Astronomy;
GenericName=XEphem

BIN
xephem/xephem.png View File

Before After
Width: 96  |  Height: 96  |  Size: 17 KiB

Loading…
Cancel
Save