blob: 4a1dbd59a42fa428f1176a27d95bd41ecfd910bd (
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
|
# Maintainer: Xianwen Chen <xianwen.chen@gmail.com>
pkgname=geoda
pkgver=1.8.12
pkgrel=12
pkgdesc='GeoDa is an Exploratory (Spatial) Data Analysis and Spatial Regression software, for spatial data analysis including spatial econometrics.'
arch=('x86_64')
license=('custom:free_for_non_commercial_use')
url="http://geodacenter.github.io/download_linux.html"
depends=('libcurl-gnutls')
makedepends=('wget' 'dpkg' 'rsync')
install=$pkgname.install
source=(
"https://s3.amazonaws.com/geoda/software/GeoDa-1.8.12-Ubuntu-64bit.deb"
)
package()
{
cd "$srcdir/"
dpkg -X ../GeoDa-1.8.12-Ubuntu-64bit.deb ./
find . -type d -exec chmod 755 {} \;
# sed 's/$GEODA_HOME\/gdaldata/$HOME\/gdaldata/' <usr/bin/run_geoda.sh > usr/bin/geoda-2
# sed '/chmod/d' <usr/bin/geoda-2 > usr/bin/geoda
mv usr/bin/run_geoda.sh geoda
chmod +x usr/bin/geoda
# rm usr/bin/run_geoda.sh
# rm usr/bin/geoda-2
install -d $pkgdir/usr
rsync -aPv usr/ $pkgdir/usr
chmod 666 $pkgdir/usr/local/geoda/cache.sqlite
}
sha512sums=('9bb5f266dc8005093e55f271cb3c0803df7b57e1b1889a1ad5d6c763c319f12f5a8736d88672d1cd17e1fcd6ec3b3e6f45b6f6eec421a02355c7df43b7a42e95')
|