summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 02e4e792110d897fcf712827eeac237d40cb6d1e (plain)
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
# Maintainer: not_anonymous <nmlibertarian@gmail.com>

pkgname=flrig-git
_pkgname=flrig
__pkgname=fldigi
pkgver=1.3.28.r0.gb05b001
#.r0.gb05b001
pkgrel=1
pkgdesc="Ham Radio - Xcvr control program - GIT version"
arch=('i686' 'x86_64')
url="https://sourceforge.net/p/fldigi/flrig/ci/master/tree/"
license=('GPL')
depends=('fltk' 'flxmlrpc')
makedepends=('git' 'autoconf' 'automake' 'pkg-config')
optdepends=('hamradio-menus: XDG compliant menuing'
	    'fldigi: for digital mode interface')
provides=('flrig')
conflicts=('flrig')
source=("$_pkgname::git://git.code.sf.net/p/$__pkgname/$_pkgname#branch=master")

pkgver() {
	cd $srcdir/$_pkgname

	git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
	cd $srcdir/$_pkgname

	autoreconf --install
}

build() {
	cd $srcdir/$_pkgname
			 
	./configure --prefix=/usr
	make
}

package() {
	cd $srcdir/$_pkgname

	make prefix=$pkgdir/usr install
}                                                  
md5sums=('SKIP')
sha256sums=('SKIP')