summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoroli2015-07-15 21:55:33 +0200
committeroli2015-07-15 21:55:33 +0200
commitc1c55676b16739b450bb7a2a12fb695d1dd9bafb (patch)
tree0de09d91353ebe3d2de21a9a811fe0cc147254b0 /PKGBUILD
parente20093c7827f66c27d67ffee221455e8babaa439 (diff)
downloadaur-gpxviewer-bzr.tar.gz
updated
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 14 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b377426b1a1..8f33837bb46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=gpxviewer-bzr
arch=('i686' 'x86_64')
-pkgver=247
+pkgver=r296
pkgrel=1
pkgdesc="a simple program to visualize a gpx file"
license=('GPL2')
@@ -11,27 +11,26 @@ url="http://blog.sarine.nl/gpx-viewer/"
depends=('vala' 'libchamplain' 'intltool' 'gdl')
makedepends=('bzr')
conflicts=('gpxviewer')
-_bzrtrunk=lp:~gpx-viewer-team/gpx-viewer/port-to-libchamplain-0.12
-_bzrmod=$pkgname
+#source=("${pkgname}"::bzr+lp:~gpx-viewer-team/gpx-viewer/port-to-libchamplain-0.12)
+source=("${pkgname}"::bzr+lp:~chkr/gpx-viewer/gtk3-bugfix)
+md5sums=('SKIP')
-build() {
-cd $srcdir
-msg "Connecting to the server...."
-if [ ! -d $_bzrmod/.bzr ]; then
-bzr co $_bzrtrunk $_bzrmod
-else
-bzr up $_bzrmod
-fi
+pkgver() {
+ cd "${pkgname}"
+ printf "r%s" "$(bzr revno)"
+}
-msg "Bazaar checkout done or server timeout"
-cd $pkgname
-sed -i '/1.7/s/automake_progs="/&automake-1.12 /' autogen.sh
+build() {
+cd ${srcdir}/${pkgname}
+sed -i '/1.7/s/automake_progs="/&automake-1.15 /' autogen.sh
./autogen.sh
./configure --prefix=/usr
-make
+make || make
}
package() {
cd $srcdir/$pkgname
make DESTDIR=$pkgdir install
+rm -r ${pkgdir}/usr/share/mime
+rm ${pkgdir}/usr/share/applications/mimeinfo.cache
}