summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrederik2017-02-24 13:38:58 +0100
committerfrederik2017-02-24 13:39:35 +0100
commit61628917293e3755dfc6504b1eaf2b0b9d6f4af1 (patch)
tree828b5c9714d05767e19d632d78c7ca5b73db23a2
parent328ff97b26c1794d448bb9ed09ca71b50b5bc818 (diff)
downloadaur-61628917293e3755dfc6504b1eaf2b0b9d6f4af1.tar.gz
bump to 2016.3.4
split package
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD34
2 files changed, 28 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1a9ae8b146a..fff39af64b3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,24 +1,25 @@
# Generated by mksrcinfo v8
-# Sat Jan 28 00:29:05 UTC 2017
+# Fri Feb 24 12:39:15 UTC 2017
pkgbase = datagrip
pkgdesc = Smart SQL Editor and Advanced Database Client Packed Together for Optimum Productivity
- pkgver = 2016.3.3
+ pkgver = 2016.3.4
pkgrel = 1
url = http://www.jetbrains.com/datagrip/
arch = i686
arch = x86_64
license = Commercial
- optdepends = java-environment>=8: use system java
- optdepends = java-runtime-common: use system java
- provides = 0xdbe
- provides = 0xdbe-eap
+ makedepends = rsync
conflicts = 0xdbe
conflicts = 0xdbe-eap
options = !strip
- source = https://download.jetbrains.com/datagrip/datagrip-2016.3.3.tar.gz
+ source = https://download.jetbrains.com/datagrip/datagrip-2016.3.4.tar.gz
source = jetbrains-datagrip.desktop
- sha512sums = 4449bd4dd177a381ffa0fa491c3f4c014ba066be7b15b11d28c688d3b06c0ffa6fe189bf2fc373539befa0da58101bb1e2175415d290659b794ba41b0a185e44
+ sha512sums = 4c1ef05819baf5187e0e2e295346834b0a493b9e70e2ce0cec2ba6c447257276323c7b42149bb6f38db1860249a9eeef7f499a960b3112f224539ef9b70877bb
sha512sums = 6fa0fb2eba7017f2818a5e9d8e44d43a050fdb5b13c7dd1650fae472191f892424f904009e2ba675d5f75200e7e2f42dad95741e94b16355a8ce9eb07bd8660b
pkgname = datagrip
+ optdepends = datagrip-jre: JetBrains custom Java Runtime (Recommended)
+ optdepends = java-runtime>=8: JRE - Required if datagrip-jre is not installed
+
+pkgname = datagrip-jre
diff --git a/PKGBUILD b/PKGBUILD
index 1cbfbe1fe7e..686259dc4a6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,38 @@
# Maintainer: Frederik Schwan <frederik dot schwan at linux dot com>
-pkgname=datagrip
-_pkgname=DataGrip
-pkgver=2016.3.3
+pkgbase=datagrip
+pkgname=(datagrip datagrip-jre)
+pkgver=2016.3.4
pkgrel=1
pkgdesc='Smart SQL Editor and Advanced Database Client Packed Together for Optimum Productivity'
arch=('i686' 'x86_64')
url='http://www.jetbrains.com/datagrip/'
license=('Commercial')
-optdepends=('java-environment>=8: use system java'
- 'java-runtime-common: use system java')
-provides=('0xdbe' '0xdbe-eap')
conflicts=('0xdbe' '0xdbe-eap')
options=('!strip')
-source=(https://download.jetbrains.com/$pkgname/${pkgname}-${pkgver}.tar.gz
+makedepends=('rsync')
+source=(https://download.jetbrains.com/${pkgbase}/${pkgbase}-${pkgver}.tar.gz
jetbrains-datagrip.desktop)
-sha512sums=('4449bd4dd177a381ffa0fa491c3f4c014ba066be7b15b11d28c688d3b06c0ffa6fe189bf2fc373539befa0da58101bb1e2175415d290659b794ba41b0a185e44'
+sha512sums=('4c1ef05819baf5187e0e2e295346834b0a493b9e70e2ce0cec2ba6c447257276323c7b42149bb6f38db1860249a9eeef7f499a960b3112f224539ef9b70877bb'
'6fa0fb2eba7017f2818a5e9d8e44d43a050fdb5b13c7dd1650fae472191f892424f904009e2ba675d5f75200e7e2f42dad95741e94b16355a8ce9eb07bd8660b')
-package() {
+package_datagrip() {
+ optdepends=('datagrip-jre: JetBrains custom Java Runtime (Recommended)'
+ 'java-runtime>=8: JRE - Required if datagrip-jre is not installed')
+
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/
- 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
+ rsync -rtl ${srcdir}/DataGrip-${pkgver}/ ${pkgdir}/opt/${pkgbase} --exclude=/jre
+
+ ln -s /opt/${pkgbase}/bin/${pkgbase}.sh ${pkgdir}/usr/bin/${pkgbase}
+ install -D -m 644 ${srcdir}/jetbrains-${pkgbase}.desktop ${pkgdir}/usr/share/applications/
+ install -D -m 644 ${pkgdir}/opt/${pkgbase}/bin/${pkgbase}.png ${pkgdir}/usr/share/pixmaps/${pkgbase}.png
+}
- 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 ${pkgdir}/opt/${pkgname}/bin/${pkgname}.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
+package_datagrip-jre() {
+ install -d -m 755 ${pkgdir}/opt/${pkgbase}
+ rsync -rtl ${srcdir}/DataGrip-${pkgver}/jre ${pkgdir}/opt/${pkgbase}
}