[arch-commits] Commit in osm-gps-map/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Mon Feb 1 08:23:10 UTC 2016
Date: Monday, February 1, 2016 @ 09:23:10
Author: bgyorgy
Revision: 159775
Implement build function, remove python2-osmgpsmap from optdepends
Modified:
osm-gps-map/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-01 07:58:44 UTC (rev 159774)
+++ PKGBUILD 2016-02-01 08:23:10 UTC (rev 159775)
@@ -11,7 +11,6 @@
license=('GPL2')
depends=('gtk3' 'libsoup')
makedepends=('gnome-common' 'gtk-doc' 'gobject-introspection')
-optdepends=('python2-osmgpsmap: Python bindings')
provides=('osm-gps-map-gtk3')
conflicts=('osm-gps-map-gtk3')
replaces=('osm-gps-map-gtk3')
@@ -20,14 +19,16 @@
prepare() {
cd $srcdir/osm-gps-map-$pkgver
- ./autogen.sh
- sed -i "s at osm_gps_mapdocdir = \${prefix}/doc/osm-gps-map at osm_gps_mapdocdir = \
- \${prefix}/share/doc/${pkgname}@" Makefile.in
+ NOCONFIGURE=1 ./autogen.sh
}
+build() {
+ cd $srcdir/osm-gps-map-$pkgver
+ ./configure --prefix=/usr --enable-gtk-doc
+ make
+}
+
package() {
cd $srcdir/osm-gps-map-$pkgver
- ./configure --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-gtk-doc
- make
make DESTDIR=$pkgdir install
}
More information about the arch-commits
mailing list