Created
March 8, 2013 03:33
-
-
Save peplin/5114028 to your computer and use it in GitHub Desktop.
Fixed PKGBUILD for dl-fldigi-git package in Arch AUR - https://aur.archlinux.org/packages/dl-fldigi-git/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: [Philip Crump](mailto:[email protected]) aka M0DNY | |
# Maintainer: [Philip Crump](mailto:[email protected]) 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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment