summaryrefslogtreecommitdiffstats
path: root/abs/extra/gypsy/PKGBUILD
blob: fbb0c941ec9ccbda9529b6568d3d38b98161d96c (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
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Hans-Nikolai Viessmann <hv15@hw.ac.uk>
# Contributor: Nuno Araujo <nuno.araujo@russo79.com>
# Contributor: György Balló <ballogy@freestart.hu>

pkgname=gypsy
pkgver=0.9
pkgrel=7
pkgdesc="GPS multiplexing daemon"
arch=(x86_64)
url="https://gypsy.freedesktop.org/"
license=(GPL)
depends=(dbus-glib bluez bluez-libs libgudev)
makedepends=(libxslt)
source=("https://gypsy.freedesktop.org/releases/$pkgname-$pkgver.tar.gz"
        g_type_init_deprecation.patch)
md5sums=('e2d186df9c2cc3b70a027043e22acf1a'
         'f42f0bb01f8a278fce81d6f05305b9fb')

prepare() {
  cd $pkgname-$pkgver

  patch -p1 -i ../g_type_init_deprecation.patch
}

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname
  make
}

package() {
  cd $pkgname-$pkgver

  make DESTDIR="$pkgdir" install
}