summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Legner2019-03-29 21:10:32 +0100
committerSimon Legner2019-03-29 21:10:32 +0100
commitbd1e42bd258dc831ce4a3cb620ad8808b1fdf282 (patch)
tree641a19f126f43665a92c18cb33092c31e4f9e38f
parent43d0ca78863e341b7346b45e53a59e21edf2c3bb (diff)
downloadaur-bd1e42bd258dc831ce4a3cb620ad8808b1fdf282.tar.gz
Update to 3.0.0-1
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD7
2 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 65322d38d384..249161799e4a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
pkgbase = geojsonhint
pkgdesc = Validate and sanity-check geojson files (geojsonlint)
- pkgver = 2.1.0
- pkgrel = 2
+ pkgver = 3.0.0
+ pkgrel = 1
url = https://github.com/mapbox/geojsonhint#readme
arch = any
license = ISC
makedepends = npm
depends = nodejs
replaces = nodejs-geojsonhint
- noextract = geojsonhint-2.1.0.tgz
- source = https://registry.npmjs.org/@mapbox/geojsonhint/-/geojsonhint-2.1.0.tgz
- sha256sums = 9067522a29396f212b5ffd592474537e9ff3151df050fc2c77f629d13fb7ac68
+ noextract = geojsonhint-3.0.0.tgz
+ source = https://registry.npmjs.org/@mapbox/geojsonhint/-/geojsonhint-3.0.0.tgz
+ sha256sums = 550d2f88c6310525f9b932947e8bb8408cbffbd2e096319e5aadf85a2c5aedd5
pkgname = geojsonhint
diff --git a/PKGBUILD b/PKGBUILD
index 1e24823233c4..3ff69577358b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Simon Legner <Simon.Legner@gmail.com>
pkgname=geojsonhint
-pkgver=2.1.0
-pkgrel=2
+pkgver=3.0.0
+pkgrel=1
pkgdesc="Validate and sanity-check geojson files (geojsonlint)"
arch=(any)
url="https://github.com/mapbox/geojsonhint#readme"
@@ -18,9 +18,10 @@ package() {
mkdir -p $_npmdir
cd $_npmdir
npm install -g --prefix "$pkgdir/usr" @mapbox/$pkgname@$pkgver
+ find "${pkgdir}"/usr -name package.json -exec sed -i '/"_where"/d' '{}' '+'
find "${pkgdir}"/usr -type d -exec chmod 755 {} +
install -Dm755 "$_npmdir/@mapbox/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
-sha256sums=('9067522a29396f212b5ffd592474537e9ff3151df050fc2c77f629d13fb7ac68')
+sha256sums=('550d2f88c6310525f9b932947e8bb8408cbffbd2e096319e5aadf85a2c5aedd5')