summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Escoz2018-11-17 11:39:22 +0100
committerDaniel Escoz2018-11-17 11:39:22 +0100
commit2d52f04ccaab71fe2376aa4d79db695ddeb06f07 (patch)
tree8dd518797c058b6fcceaac98280359b92476fb68
parent329efeb63f9e9946795e806e8535ce0e28bd5c90 (diff)
downloadaur-2d52f04ccaab71fe2376aa4d79db695ddeb06f07.tar.gz
Update to 5.0.0
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD20
2 files changed, 16 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1582ecff4db..3faa84cf481 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = nosqlbooster-mongodb
pkgdesc = Shell-centric GUI tool for MongoDB
- pkgver = 4.7.0
+ pkgver = 5.0.0
pkgrel = 1
url = https://nosqlbooster.com
arch = x86_64
@@ -10,10 +10,10 @@ pkgbase = nosqlbooster-mongodb
depends = libxss
depends = libxtst
noextract = nsqlb4m.AppImage
- source = nsqlb4m.AppImage::https://nosqlbooster.com/s3/download/releasesv4/nosqlbooster4mongo-4.7.0.AppImage
- md5sums = da91339b27d5bdccc404fbdc47c41839
- sha1sums = 78717b7308c16734623b2be38a822825416e7b0f
- sha256sums = 4fe6dad993aefbcb1ab47848e8c8c3085873eed0e18370d12e28bccedb9158be
+ source = nsqlb4m.AppImage::https://nosqlbooster.com/s3/download/releasesv5/nosqlbooster4mongo-5.0.0.AppImage
+ md5sums = ee5566d1c35c6e7554834351c14ea821
+ sha1sums = d29e1712ee64e2d95b786b7b08818db598535791
+ sha256sums = 352fe2034c7ef008a22505223fa38b1539b66b37b00f4732ee7263a3c5b31afe
pkgname = nosqlbooster-mongodb
diff --git a/PKGBUILD b/PKGBUILD
index 69f46f0a140..6e0010d87ec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer: Daniel Escoz <darkhogg+aur.nosqlbooster-mongodb@gmail.com>
pkgname=nosqlbooster-mongodb
-pkgver=4.7.0
+pkgver=5.0.0
+_majorver="$(echo $pkgver | sed -E 's/\..+$//')"
pkgrel=1
pkgdesc="Shell-centric GUI tool for MongoDB"
arch=('x86_64')
@@ -9,11 +10,11 @@ license=('GPL')
depends=(gconf libnotify libxss libxtst)
makedepends=()
optdepends=()
-source=(nsqlb4m.AppImage::https://nosqlbooster.com/s3/download/releasesv4/nosqlbooster4mongo-4.7.0.AppImage)
+source=(nsqlb4m.AppImage::https://nosqlbooster.com/s3/download/releasesv${_majorver}/nosqlbooster4mongo-${pkgver}.AppImage)
noextract=(nsqlb4m.AppImage)
-md5sums=('da91339b27d5bdccc404fbdc47c41839')
-sha1sums=('78717b7308c16734623b2be38a822825416e7b0f')
-sha256sums=('4fe6dad993aefbcb1ab47848e8c8c3085873eed0e18370d12e28bccedb9158be')
+md5sums=('ee5566d1c35c6e7554834351c14ea821')
+sha1sums=('d29e1712ee64e2d95b786b7b08818db598535791')
+sha256sums=('352fe2034c7ef008a22505223fa38b1539b66b37b00f4732ee7263a3c5b31afe')
build() {
cd "$srcdir"
@@ -21,7 +22,7 @@ build() {
chmod +x nsqlb4m.AppImage
./nsqlb4m.AppImage --appimage-extract
- chmod +x 'squashfs-root/app/nosqlbooster4mongo'
+ chmod +x 'squashfs-root/nosqlbooster4mongo'
sed -E \
-e '/X-/d' \
@@ -32,12 +33,13 @@ build() {
package() {
cd "$srcdir"
+ install -d "${pkgdir}/opt"
+ cp -r "squashfs-root" "${pkgdir}/opt/nosqlbooster-mongodb"
+ rm -rf "${pkgdir}/opt/nosqlbooster-mongodb/usr/share"
+
install -d "${pkgdir}/usr"
cp -r "squashfs-root/usr/share" "${pkgdir}/usr/share"
- install -d "${pkgdir}/opt"
- cp -r "squashfs-root/app" "${pkgdir}/opt/nosqlbooster-mongodb"
-
install -D 'squashfs-root/nosqlbooster4mongo.desktop' "${pkgdir}/usr/share/applications/nosqlbooster4mongo.desktop"
find "$pkgdir" -type d -exec chmod 755 {} +
}