summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrederik2016-04-21 00:20:06 +0200
committerfrederik2016-04-21 00:32:02 +0200
commit95f036ec4a4c5955fa369a014a0cbbc8493b1a3b (patch)
tree69e31e73c3b1ce766485dda5f409ddcea7f3aa3a
parent2d821283790b26b735c82a45d2e8e58eb01dbccf (diff)
downloadaur-95f036ec4a4c5955fa369a014a0cbbc8493b1a3b.tar.gz
bump to 2016.1
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD19
-rw-r--r--datagrip.sh4
3 files changed, 25 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b6d8f736b54..81d3b006129 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,26 @@
# Generated by mksrcinfo v8
-# Sun Feb 21 18:27:38 UTC 2016
+# Wed Apr 20 22:19:48 UTC 2016
pkgbase = datagrip
pkgdesc = Smart SQL Editor and Advanced Database Client Packed Together for Optimum Productivity
- pkgver = 1.0.3
+ pkgver = 2016.1
pkgrel = 1
url = http://www.jetbrains.com/datagrip/
arch = i686
arch = x86_64
license = Commercial
- depends = java-environment>=6
+ optdepends = java-environment>=8: use system java
+ optdepends = java-runtime-common: use system java
provides = 0xdbe
provides = 0xdbe-eap
conflicts = 0xdbe
conflicts = 0xdbe-eap
options = !strip
- source = https://download.jetbrains.com/datagrip/datagrip-1.0.3-custom-jdk-linux.tar.gz
+ source = https://download.jetbrains.com/datagrip/datagrip-2016.1.tar.gz
source = jetbrains-datagrip.desktop
- sha256sums = 996a9d6f3e4bb643ea5470673170e89a6330af1d19728785ba3ea1d7ad008081
+ source = datagrip.sh
+ sha256sums = 9bd8a78ff5ad8344dbd111bf3a48a277f71fd8a8347d3fb9a1c09af4320eb9e3
sha256sums = 60624032f3952952e31d0ccd0eec9c602b6612ad204b5d6ee0f35152a4e219eb
+ sha256sums = 43c1a922107c352d83a7b7f718f014a6e9e769dc2da0ea25813e0677fa035844
pkgname = datagrip
diff --git a/PKGBUILD b/PKGBUILD
index 693e4b65454..d5baaecee1d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,30 +2,37 @@
pkgname=datagrip
_pkgname=DataGrip
-pkgver=1.0.3
+pkgver=2016.1
pkgrel=1
pkgdesc='Smart SQL Editor and Advanced Database Client Packed Together for Optimum Productivity'
arch=('i686' 'x86_64')
options=('!strip')
url="http://www.jetbrains.com/${pkgname}/"
license=('Commercial')
-depends=('java-environment>=6')
+optdepends=('java-environment>=8: use system java'
+ 'java-runtime-common: use system java')
provides=('0xdbe' '0xdbe-eap')
conflicts=('0xdbe' '0xdbe-eap')
-source=(https://download.jetbrains.com/$pkgname/${pkgname}-${pkgver}-custom-jdk-linux.tar.gz
- jetbrains-datagrip.desktop)
-sha256sums=('996a9d6f3e4bb643ea5470673170e89a6330af1d19728785ba3ea1d7ad008081'
- '60624032f3952952e31d0ccd0eec9c602b6612ad204b5d6ee0f35152a4e219eb')
+source=(https://download.jetbrains.com/$pkgname/${pkgname}-${pkgver}.tar.gz
+ jetbrains-datagrip.desktop
+ datagrip.sh)
+sha256sums=('9bd8a78ff5ad8344dbd111bf3a48a277f71fd8a8347d3fb9a1c09af4320eb9e3'
+ '60624032f3952952e31d0ccd0eec9c602b6612ad204b5d6ee0f35152a4e219eb'
+ '43c1a922107c352d83a7b7f718f014a6e9e769dc2da0ea25813e0677fa035844')
package() {
install -d -m 755 ${pkgdir}/opt/
install -d -m 755 ${pkgdir}/usr/bin/
install -d -m 755 ${pkgdir}/usr/share/applications/
install -d -m 755 ${pkgdir}/usr/share/pixmaps/
+ install -d -m 755 ${pkgdir}/etc/profile.d/
cp -a ${srcdir}/${_pkgname}-${pkgver} $pkgdir/opt/${pkgname}
+ # if using system java you may remove the bundled jre and save about 100M
+ #rm -rf $pkgdir/opt/${pkgname}/jre
ln -s /opt/$pkgname/bin/${pkgname}.sh $pkgdir/usr/bin/${pkgname}
install -D -m 644 ${srcdir}/jetbrains-${pkgname}.desktop ${pkgdir}/usr/share/applications/
+ install -D -m 644 ${srcdir}/${pkgname}.sh ${pkgdir}/etc/profile.d/
install -D -m 644 "${pkgdir}/opt/${pkgname}/bin/product.png" "${pkgdir}/usr/share/pixmaps/product.png"
}
diff --git a/datagrip.sh b/datagrip.sh
new file mode 100644
index 00000000000..09b35325c49
--- /dev/null
+++ b/datagrip.sh
@@ -0,0 +1,4 @@
+# use Arch JRE/JDK for datagrip
+if [ -d /usr/lib/jvm/default ]; then
+ export DATAGRIP_JDK=/usr/lib/jvm/default
+fi