[arch-commits] Commit in gpsbabel/repos (4 files)
Allan McRae
allan at archlinux.org
Sun Dec 6 20:48:40 UTC 2015
Date: Sunday, December 6, 2015 @ 21:48:40
Author: allan
Revision: 149202
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
gpsbabel/repos/community-staging-i686/
gpsbabel/repos/community-staging-i686/PKGBUILD
(from rev 149200, gpsbabel/trunk/PKGBUILD)
gpsbabel/repos/community-staging-x86_64/
gpsbabel/repos/community-staging-x86_64/PKGBUILD
(from rev 149201, gpsbabel/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+)
Copied: gpsbabel/repos/community-staging-i686/PKGBUILD (from rev 149200, gpsbabel/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-06 20:48:40 UTC (rev 149202)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=gpsbabel
+pkgver=1.5.2
+pkgrel=2
+pkgdesc="Reads, writes, and manipulates GPS waypoints in a variety of formats"
+arch=('i686' 'x86_64')
+url="http://www.gpsbabel.org"
+license=('GPL')
+depends=('libusb-compat' 'expat' 'qt4')
+makedepends=('fop' 'libxml2' 'libxslt' 'gtk2' 'lcms2' 'qtwebkit' 'java-environment' 'docbook-xsl')
+optdepends=('qtwebkit')
+options=('docs')
+source=("http://arch.p5n.pp.ru/~sergej/dl/gpsbabel-$pkgver.tar.gz")
+md5sums=('a5f04f0b32554567118bbac1f4dbb379')
+
+build() {
+ cd $srcdir/gpsbabel-$pkgver
+ ./configure --prefix=/usr
+ make
+ make doc
+ (cd gui && qmake-qt4 && make)
+}
+
+package() {
+ cd $srcdir/gpsbabel-$pkgver
+ make DESTDIR=$pkgdir install
+
+ # GUI
+ install -Dm755 gui/objects/gpsbabelfe-bin ${pkgdir}/usr/bin/gpsbabelfe-bin
+ install -Dm644 gui/images/appicon.png $pkgdir/usr/share/pixmaps/gpsbabel.png
+ install -Dm644 gui/gpsbabel.desktop $pkgdir/usr/share/applications/gpsbabel.desktop
+
+ # Header install
+ mkdir -p $pkgdir/usr/include/gpsbabel
+ cp *.h $pkgdir/usr/include/gpsbabel
+
+ # Doc install
+ mkdir -p $pkgdir/usr/share/doc/$pkgname
+ cp -r $srcdir/babelweb/* $pkgdir/usr/share/doc/$pkgname/
+ cp README* $pkgdir/usr/share/doc/$pkgname/
+}
Copied: gpsbabel/repos/community-staging-x86_64/PKGBUILD (from rev 149201, gpsbabel/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-06 20:48:40 UTC (rev 149202)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=gpsbabel
+pkgver=1.5.2
+pkgrel=2
+pkgdesc="Reads, writes, and manipulates GPS waypoints in a variety of formats"
+arch=('i686' 'x86_64')
+url="http://www.gpsbabel.org"
+license=('GPL')
+depends=('libusb-compat' 'expat' 'qt4')
+makedepends=('fop' 'libxml2' 'libxslt' 'gtk2' 'lcms2' 'qtwebkit' 'java-environment' 'docbook-xsl')
+optdepends=('qtwebkit')
+options=('docs')
+source=("http://arch.p5n.pp.ru/~sergej/dl/gpsbabel-$pkgver.tar.gz")
+md5sums=('a5f04f0b32554567118bbac1f4dbb379')
+
+build() {
+ cd $srcdir/gpsbabel-$pkgver
+ ./configure --prefix=/usr
+ make
+ make doc
+ (cd gui && qmake-qt4 && make)
+}
+
+package() {
+ cd $srcdir/gpsbabel-$pkgver
+ make DESTDIR=$pkgdir install
+
+ # GUI
+ install -Dm755 gui/objects/gpsbabelfe-bin ${pkgdir}/usr/bin/gpsbabelfe-bin
+ install -Dm644 gui/images/appicon.png $pkgdir/usr/share/pixmaps/gpsbabel.png
+ install -Dm644 gui/gpsbabel.desktop $pkgdir/usr/share/applications/gpsbabel.desktop
+
+ # Header install
+ mkdir -p $pkgdir/usr/include/gpsbabel
+ cp *.h $pkgdir/usr/include/gpsbabel
+
+ # Doc install
+ mkdir -p $pkgdir/usr/share/doc/$pkgname
+ cp -r $srcdir/babelweb/* $pkgdir/usr/share/doc/$pkgname/
+ cp README* $pkgdir/usr/share/doc/$pkgname/
+}
More information about the arch-commits
mailing list