1 # Contributor: Fabio Falcinelli < fabio.falcinelli@gmail.com >
6 pkgdesc="Astrology software insipred by the SYMBOLON deck. This software calculates the planet positions and make symbolon card tables according to the calculated constellation. It can draw the classical circular horoscope also."
9 url="http://symsolon.sourceforge.net/"
10 license=('GPL' 'custom:"SWISSEPHEM"')
15 source=(http://downloads.sourceforge.net/symsolon/$pkgname-src-$pkgver.tgz)
16 md5sums=('bd96f37968544191ad5c1179714b1332')
19 install -D -m744 $srcdir/$pkgname-$pkgver/share/doc/symsolon/GNU_GPL_LICENSE_V3 $pkgdir/usr/share/licenses/symsolon/GNU_GPL_LICENSE_V3
20 install -D -m744 $srcdir/$pkgname-$pkgver/share/doc/symsolon/SWISSEPHEM_LICENSE $pkgdir/usr/share/licenses/symsolon/SWISSEPHEM_LICENSE
22 _src_array="quazip swe_171 zoneinfo symsolon"
23 for _step in $_src_array ; do
24 if [[ -e $srcdir/$pkgname-$pkgver/src/$_step ]] ; then
25 qmake -unix -o $srcdir/$pkgname-$pkgver/src/$_step/Makefile $srcdir/$pkgname-$pkgver/src/$_step/$_step.pro
28 cd $srcdir/$pkgname-$pkgver/src
29 qmake -unix -o Makefile src.pro
31 qmake -unix -o Makefile symsolon.pro
34 export INSTALL_ROOT=$pkgdir/usr
35 make install || return 1
37 mkdir -p $pkgdir/usr/bin
38 cp $srcdir/$pkgname-$pkgver/bin/symsolon $pkgdir/usr/bin
39 chmod 755 $pkgdir/usr/bin/symsolon