blob: 8c1dcf10e41954bb783e7a8eeb35719c938f89b1 (
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
|
# Maintainer: Christoph Gysin <christoph.gysin@gmail.com>
_name=osm-gps-map
pkgname=$_name-git
pkgver=1.1.0.r7.gb7cc420
pkgrel=1
pkgdesc="Gtk+ widget for displaying OpenStreetMap tiles"
arch=(i686 x86_64)
url="http://nzjrs.github.io/$pkgname"
license=('GPL')
depends=('cairo' 'libsoup')
makedepends=('gnome-common' 'gtk-doc' 'gobject-introspection')
source=(git+https://github.com/nzjrs/${_name}.git)
md5sums=('SKIP')
provides=($_name)
conflicts=($_name)
pkgver() {
cd $_name
git describe --long | sed -r "s/^${_name}-//;s/([^-]*-g)/r\\1/;s/-/./g"
}
build() {
cd $srcdir/$_name
./autogen.sh
./configure \
--prefix=/usr \
--enable-gtk-doc
make
}
package() {
cd $srcdir/$_name
make DESTDIR=$pkgdir install
}
|