updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / fldigi / PKGBUILD
blob80b07b881b9d0aef439ccda4c5d11d85008a22d7
1 # Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD
3 pkgname=fldigi
4 pkgver=3.21.11
5 pkgrel=1
6 pkgdesc="Digital Modes for Radio - GUI"
7 arch=('i686' 'x86_64')
8 url="http://w1hkj.com/Fldigi.html"
9 license=('GPL')
10 depends=('hamlib>=1.2.8.1' 'portaudio' 'libsamplerate' 'fltk' 'xmlrpc-c-abyss' 'cty')
11 optdepends=('pulseaudio')
12 source=(http://w1hkj.com/downloads/$pkgname/$pkgname-$pkgver.tar.gz cty.patch)
14 build() {
15         cd $srcdir
17         patch -p1 < cty.patch
19         cd $pkgname-$pkgver
21         ./configure --prefix=/usr \
22                         --enable-optimizations=sse3 \
23                         --enable-tls \
24                         --with-xmlrpc \
25                         --with-sndfile \
26                         --with-portaudio \
27                         --with-hamlib
28         make
31 package() {
32         cd $srcdir/$pkgname-$pkgver
34         make DESTDIR="$pkgdir" install
37 md5sums=('5ad47cdf37fe4e2a2429ae5c8398cd93'
38          'f98f2c6ac4cf2cfe34f2f9c2621d1169')
39 sha256sums=('bca150568040f20abf8114bde7dfb2057189438796d61e7995a2b9090ce1b16c'
40             '5cd489f444651534726f6292d1aca20d8949b93c50e64f69a4d1476144602540')