public
Created

Fixed PKGBUILD for dl-fldigi-git package in Arch AUR - https://aur.archlinux.org/packages/dl-fldigi-git/

  • Download Gist
gistfile1.txt
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 43 44 45 46 47 48 49 50 51 52 53
# Contributor: [Philip Crump](mailto:pdc1g09@soton.ac.uk) aka M0DNY
# Maintainer: [Philip Crump](mailto:pdc1g09@soton.ac.uk) aka M0DNY
 
pkgname=dl-fldigi-git
#pkgver=3.21.36
pkgver=20130307
pkgrel=1
pkgdesc="Tracking Program for UK HAB Launches by James Coxon"
arch=('i686' 'x86_64')
url="https://github.com/jamescoxon/dl-fldigi"
license=('GPL')
depends=('fltk' 'libsamplerate' 'libpng14')
optdepends=('pulseaudio: pulseaudio support'
#'cty: callsign database support'
'xmlrpc-c-abyss: XML-RPC control'
'hamlib: rig control through hamlib'
'portaudio: PortAudio support'
'libsndfile: sound file support')
_gitroot="https://github.com/jamescoxon/dl-fldigi.git"
_gitname="dl-fldigi"
md5sums=('e7cfabfa03a4865c455a7d49392cba7a')
 
build() {
cd "${srcdir}"
msg "Connecting to GIT server...."
 
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
msg "Repo cloned."
fi
 
cd $_gitname && git submodule update --init
msg "GIT submodules updated"
 
msg "GIT checkout done or server timeout"
 
msg "Removing Makefile.am line incompatible with autoconf 1.13"
sed -i '/^TESTS/d' src/Makefile.am
 
msg "Starting make..."
 
autoreconf -vfi
./configure --disable-flarq
make
}
 
package() {
cd "$srcdir/$_gitname"
make DESTDIR="$pkgdir/" install
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.