summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlexandre Teles2018-09-23 01:51:17 -0300
committerAlexandre Teles2018-09-23 01:51:17 -0300
commitc9206eb9e2b7ee146112f703205543f0f737c3d0 (patch)
tree52034c89f68a7ec9985ee0fb33fa9576e53a028a /PKGBUILD
parent94e97c4423bc46d71887c73f5320c7f4e0fe0311 (diff)
downloadaur-c9206eb9e2b7ee146112f703205543f0f737c3d0.tar.gz
update to latest version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD38
1 files changed, 10 insertions, 28 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cfc05cd9353..8aca7a777e6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
# Maintainer: Monika Schrenk <moni@random-access.org>
+# Maintainer: Alexandre Teles (afterSt0rm) <ateles.1@gmail.com>
pkgname=studio-3t
-pkgver=5.6.3
+pkgver=2018.4.4
pkgrel=1
-pkgdesc="The world's favorite IDE for working with MongoDB, formerly known as MongoChef."
+pkgdesc="The professional workspace for MongoDB (formerly known as MongoChef)"
arch=('i686' 'x86_64')
url="https://studio3t.com"
license=("custom")
@@ -12,35 +13,16 @@ makedepends=('unzip')
provides=('studio-3t')
replaces=('mongochef')
-source=("${pkgname}.desktop" "${pkgname}")
-source_i686=("$pkgname-$pkgver-x86.tar.gz::https://download.studio3t.com/studio-3t/linux/${pkgver}/${pkgname}-linux-x86.tar.gz")
-source_x86_64=("$pkgname-$pkgver-x64.tar.gz::https://download.studio3t.com/studio-3t/linux/${pkgver}/${pkgname}-linux-x64.tar.gz")
-
-sha256sums=('b51ed1a6897541f52d60aa2b6e5add005cba31dabf7992e2177cfea6ab8fc070'
- 'c84a8462407ac2d300c34477c05c9545b7359cd1842879c2c321c88343b754f5')
-sha256sums_i686=('bc3db0385d67cbe906c9c1c61d328589d165e9b8f4b37f6940021b1776ee9f1a')
-sha256sums_x86_64=('efff641d6b2856acbf172c2b29de62e27b5d18a14edf09a2f5151040aa66651e')
+source_i686=("$pkgname-$pkgver.tar.gz::https://download.studio3t.com/studio-3t/linux/${pkgver}/${pkgname}-linux-x86-no-shell.tar.gz")
+source_x86_64=("$pkgname-$pkgver.tar.gz::https://download.studio3t.com/studio-3t/linux/${pkgver}/${pkgname}-linux-x64.tar.gz")
+
+sha256sums_i686=('da954b206e4d4a2c31f3f297c15de1e3557d7110d4d479c3882fb2ec07d39a64')
+sha256sums_x86_64=('e4ec05cf9da4ea3e22631c1eee96cb738f34064d62c6d8792041015b1dca4da8')
prepare() {
- unzip -j ${srcdir}/${pkgname}-${pkgver}-linux-*/lib/data-man-mongodb-ent-${pkgver}.jar "t3/dataman/icons/mac/512.png" -d "./"
- unzip -j ${srcdir}/${pkgname}-${pkgver}-linux-*/lib/data-man-mongodb-ent-${pkgver}.jar "t3/utils/gui/3T-EULA.txt" -d "./"
+ tar zxvf ${pkgname}-${pkgver}.tar.gz && for file in *.sh; do mv "$file" ${pkgname}.sh; done && chmod +x ${pkgname}.sh
}
package() {
- cd ${pkgdir}
- mkdir -p opt/
-
- cp -r ${srcdir}/${pkgname}-${pkgver}-linux-*/lib opt/${pkgname}
-
- ## add startup script
- install -D -m 755 $srcdir/${pkgname} usr/bin/${pkgname}
-
- ## add desktop entry
- install -D -m 644 ${srcdir}/${pkgname}.desktop usr/share/applications/${pkgname}.desktop
-
- ## add application icon
- install -D -m 644 ${srcdir}/512.png usr/share/pixmaps/${pkgname}.png
-
- ## add license
- install -D -m 644 ${srcdir}/3T-EULA.txt usr/share/licenses/${pkgname}/3T-EULA.txt
+ sudo ./${pkgname}.sh
}