updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / geoid / PKGBUILD
blob56ee674b7450b84bb34d035a9a2e1d9ce85c2ae3
1 # Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua
3 pkgname=geoid
4 pkgver=1.0
5 pkgrel=4
6 pkgdesc="Geodetic computer for amateur radio use"
7 arch=('i686' 'x86_64')
8 url="http://www.w1hkj.com/#Geoid"
9 license=('GPL')
10 depends=('fltk')
11 source=(http://w1hkj.com/LinuxApps/fl_${pkgname}.src.tar.gz $pkgname.desktop x${pkgname} cstdio.patch)
13 build() {
14         mkdir -p $pkgdir/usr/bin
15         mkdir -p $pkgdir/usr/share/{applications,$pkgname,pixmaps}
17         cd $srcdir
19         patch -p1 < cstdio.patch
20         install -m755 x${pkgname} $pkgdir/usr/bin
21         install -m644 $pkgname.desktop $pkgdir/usr/share/applications
23         cd fl_${pkgname}
25         make all || return 1
27         install -m755 $pkgname $pkgdir/usr/bin
28         install -m755 gridloc $pkgdir/usr/bin
29         install -m644 country.pos $pkgdir/usr/share/$pkgname
30         install -m644 $pkgname.png $pkgdir/usr/share/pixmaps
32 md5sums=('aa7c38cf149aca51259a4209a7fb49cd'
33          '90ba524b3d004389297fc4e9e68e36bc'
34          '3314b49269c8d37f5f3413f389c1ff51'
35          '52488626a3d10f7558361ae639c3d47d')
36 sha256sums=('47af413f0d5fdf0bf1e66c96be7795f41fa5311cc3803b5bec5a5c6e63903430'
37             '7390a34a2dcb773ab12f64f0513679125463f3d8c5f40ca73a02a171166e6069'
38             'c6eaff93e72bfc468cf94cc4fca399569a52a5a341422a2e6f74c6c9182ec53f'
39             '8c6edad749df129667bc6cba6dd72ba537a22b60d869b3656db14197ff0d394a')