[arch-commits] Commit in osm-gps-map/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Sun Feb 7 18:26:34 UTC 2021


    Date: Sunday, February 7, 2021 @ 18:26:33
  Author: archange
Revision: 848175

upgpkg: osm-gps-map 1.2.0-1

+PKGBUILD linting

Modified:
  osm-gps-map/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++----------------------
 1 file changed, 13 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-07 18:12:52 UTC (rev 848174)
+++ PKGBUILD	2021-02-07 18:26:33 UTC (rev 848175)
@@ -1,33 +1,24 @@
-# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
-# Maintainer: Stephan Windmüller <arch at freewarepoint dot de>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
 
 pkgname=osm-gps-map
-pkgver=1.1.0
-pkgrel=5
-pkgdesc="GTK+ 3 library for showing OSM tiles"
-arch=('x86_64')
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="Gtk+ Widget for Displaying OpenStreetMap tiles"
+arch=(x86_64)
 url="https://nzjrs.github.com/osm-gps-map/"
-license=('GPL2')
-depends=('gtk3' 'libsoup')
-makedepends=('gnome-common' 'gtk-doc' 'gobject-introspection')
-provides=('osm-gps-map-gtk3')
-conflicts=('osm-gps-map-gtk3')
-replaces=('osm-gps-map-gtk3')
-source=("https://github.com/nzjrs/osm-gps-map/archive/$pkgver.tar.gz")
-sha256sums=('027004459f2f29232d4ca0c914f835e6c06b720aef1daa9b470d9d5e1b71159b')
+license=(GPL2)
+depends=(gtk3 libsoup)
+makedepends=(gtk-doc gobject-introspection)
+source=(https://github.com/nzjrs/osm-gps-map/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('ddec11449f37b5dffb4bca134d024623897c6140af1f9981a8acc512dbf6a7a5')
 
-prepare() {
-  cd "$srcdir"/osm-gps-map-$pkgver
-  NOCONFIGURE=1 ./autogen.sh
-}
-
 build() {
-  cd "$srcdir"/osm-gps-map-$pkgver
+  cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr --enable-gtk-doc
   make
 }
 
 package() {
-  cd "$srcdir"/osm-gps-map-$pkgver
-  make DESTDIR="$pkgdir" install
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
 }


More information about the arch-commits mailing list