blob: 710cb17392ad89d6c5c0cb72403e061b87d5781f (
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
|
# Maintainer: oldherl <oldherl@gmail.com>
pkgname=skychart
_pkgver=4.3-4852
pkgver=${_pkgver/-/.}
pkgrel=3
pkgdesc="Free software to draw sky charts, also known as Cartes du Ciel. Beta version"
arch=('x86_64')
license=('GPL')
depends=('qt5-base' 'xplanet' 'libpasastro' 'qt5pas')
makedepends=('fpc' 'lazarus-qt5' 'wget')
optdepends=(
"xplanet: for displaying textures on planets"
)
url="http://www.ap-i.net/skychart/start"
# Using my own copy of source code because upstream deletes beta tarballs regularly.
source=(
"https://build.archlinuxcn.org/~oldherl/files/skychart/skychart-${_pkgver}-src.tar.xz"
)
sha256sums=('c62ea3b8cb426a5aca056185bf4b11933e210e9031a9ebd665b2b4d07a307887')
build() {
cd "skychart-$_pkgver-src"
fpc="/usr/lib/fpc/""`fpc -iV`""/units/x86_64-linux/"
echo fpc=$fpc
echo ./configure fpc="$fpc" lazarus=/usr/lib/lazarus prefix="$pkgdir/usr" target=x86_64-linux
./configure fpc="$fpc" lazarus=/usr/lib/lazarus prefix="$pkgdir/usr" target=x86_64-linux
make CPU_TARGET=x86_64 OS_TARGET=linux clean
make CPU_TARGET=x86_64 OS_TARGET=linux -j 1
}
package() {
cd "skychart-$_pkgver-src"
echo pkgdir $pkgdir
mkdir -p "$pkgdir/usr"
make install
make install_data
make install_doc
make install_nonfree
}
|