1 # Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua
6 pkgdesc="A program to compute the dimensions of a Moxon Rectangle antenna given the desired frequency and the wire diameter. Fl_MoxGen has export to PDF."
8 url="http://home.comcast.net/~andystewart/moxon_sw.html"
11 depends=('gcc-libs' 'fltk' 'libharu')
12 source=(http://downloads.sourceforge.net/flmoxgen/Fl_MoxGen-${pkgver}.tar.gz
13 ${pkgname}.desktop page-size.patch)
16 _sharedir=/usr/share/${pkgname}
22 patch -p1 < page-size.patch
24 cd Fl_MoxGen-${pkgver}
26 make BINDIR=${_bindir} SHAREDIR=${_sharedir} LIBHARU_INC=${_haruinc}
30 mkdir -p ${pkgdir}/${_bindir} ${pkgdir}/${_sharedir}
32 cd ${srcdir}/Fl_MoxGen-${pkgver}
34 install -m755 fl_moxgen ${pkgdir}/${_bindir}
35 install -m644 moxgen.png ${pkgdir}/${_sharedir}
36 install -D -m644 ../${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
39 md5sums=('8d05aece623749fd0448213fe3eed7f6'
40 'ef90e1b730057d7074f70ecfacac028b'
41 '0501b98a10e22537afe553b131bb98c4')
42 sha256sums=('19271c51438d6762c58b498fcd8b9293295b1f7497f3c52d3635a8710818ba20'
43 'f3fea2c601cc65c5f1cb655c2be88610a50b0d9288008d0ba5b498bfd2cd9fb4'
44 '755628d14bae6dec78bb36e776becb48c2a1f97e00bf9947a4a939bdc2356922')