summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel Escoz2019-01-27 10:42:53 +0100
committerDaniel Escoz2019-01-27 10:42:53 +0100
commit3610b6adeb1a4e6c1927440c7ffca5d2eaf32dec (patch)
tree88ce7bc9065c7b88fd7cf90c2b0f643400847dc3 /PKGBUILD
parentf421a8a61cf01647e24d01f73137ce5894e7d5df (diff)
downloadaur-3610b6adeb1a4e6c1927440c7ffca5d2eaf32dec.tar.gz
Update to 5.1.1, add LICENSE, fix app icon
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 14 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a334d483e3b..17f8edc997b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,24 @@
# Maintainer: Daniel Escoz <darkhogg+aur.nosqlbooster-mongodb@gmail.com>
pkgname=nosqlbooster-mongodb
-pkgver=5.0.3
+pkgver=5.1.1
_majorver="$(echo $pkgver | sed -E 's/\..+$//')"
pkgrel=1
pkgdesc="Shell-centric GUI tool for MongoDB"
arch=('x86_64')
url="https://nosqlbooster.com"
-license=('GPL')
+license=('custom')
depends=(gconf libnotify libxss libxtst)
makedepends=()
optdepends=()
-source=(nsqlb4m.AppImage::https://nosqlbooster.com/s3/download/releasesv${_majorver}/nosqlbooster4mongo-${pkgver}.AppImage)
+source=(nsqlb4m.AppImage::https://nosqlbooster.com/s3/download/releasesv${_majorver}/nosqlbooster4mongo-${pkgver}.AppImage
+ LICENSE)
noextract=(nsqlb4m.AppImage)
-md5sums=('02c60bc22125693f4af1f437ad62642d')
-sha1sums=('de1c487577f672166ca8c95173fcad889b9de1f4')
-sha256sums=('5fb3eeae29142828320277349307af48765d29f5a399988d8a76c0186b7d9d80')
+md5sums=('59bdd0d95fef59edaadc739c9a1e7e65'
+ 'fab008e596133037239e4a206bba3ccf')
+sha1sums=('7993e840be525685305943c1027d3c2305edd3be'
+ 'de718440354eb3c4844eda1b90bf092dcec4cf87')
+sha256sums=('0dbe0c766cdafea3ac191be54fece60def871c8265c9abd1bd948ff398c0338c'
+ '1640d17baeee24279f7d998719e37a331c8e12627c755b4b250f1c95b16f032f')
build() {
cd "$srcdir"
@@ -34,12 +38,14 @@ package() {
cd "$srcdir"
install -d "${pkgdir}/opt"
- cp -r "squashfs-root" "${pkgdir}/opt/nosqlbooster-mongodb"
+ 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"
+ cp -r "squashfs-root/usr/share/." "${pkgdir}/usr/share/"
install -D 'squashfs-root/nosqlbooster4mongo.desktop' "${pkgdir}/usr/share/applications/nosqlbooster4mongo.desktop"
find "$pkgdir" -type d -exec chmod 755 {} +
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}