blob: 7e7a4a9dc585f769c5294e8b9896c2df81c11cd5 (
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
|
# Contributor: Andreas Boehler <andy dot boehler at gmx dot at>
# Maintainer: Olivier Mehani <shtrom-aur@ssji.net>
# Contributor: Frederik "Freso" S. Olesen <freso.dk@gmail.com>
_gitname=mbm-gps-control
pkgname="${_gitname}-git"
pkgver=r16.1d2fee0
pkgrel=1
pkgdesc="Graphical interface to mbm-gpsd"
arch=('i686' 'x86_64')
url="http://mbm.sourceforge.net/"
license=('GPL')
depends=('networkmanager' 'network-manager-applet' 'intltool' 'gconf')
makedepends=('git')
provides=("${_gitname}")
source=(
"${_gitname}::git://git.code.sf.net/p/mbm/${_gitname}/"
0001-Remove-call-to-g_type_init.patch
)
md5sums=('SKIP'
'0b32f46bcd6616c7288a392f183f011a')
pkgver() {
cd "$srcdir/$_gitname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/$_gitname"
patch -p 1 < "$srcdir/0001-Remove-call-to-g_type_init.patch"
}
build() {
cd "$srcdir/$_gitname"
unset CFLAGS
unset CXXFLAGS
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
}
package() {
cd "$srcdir/$_gitname"
make DESTDIR="$pkgdir" install
}
|