summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCan Celasun2015-05-31 21:46:22 +0300
committerCan Celasun2015-05-31 21:46:22 +0300
commit50ac929d70ad05b5081b0f251fb3b512d714e968 (patch)
tree5f36d2f682965e27b2d50497b0ec9520d046c920
downloadaur-50ac929d70ad05b5081b0f251fb3b512d714e968.tar.gz
New structure
-rw-r--r--.SRCINFO21
-rw-r--r--0xdbe.desktop8
-rw-r--r--0xdbe.sh3
-rw-r--r--PKGBUILD39
4 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fdce2b06c4a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = 0xdbe-eap
+ pkgdesc = Smart SQL Editor and Advanced Database Client Packed Together for Optimum Productivity
+ pkgver = 141.191
+ pkgrel = 1
+ url = http://www.jetbrains.com/dbe/
+ arch = i686
+ arch = x86_64
+ license = Commercial
+ depends = java-environment
+ depends = giflib
+ backup = usr/share/0xdbe/bin/0xdbe.vmoptions
+ backup = usr/share/0xdbe/bin/0xdbe64.vmoptions
+ source = http://download.jetbrains.com/dbe/0xdbe-141.191.tar.gz
+ source = 0xdbe.sh
+ source = 0xdbe.desktop
+ md5sums = 773aa8e4c00ddee2173de78f48fda337
+ md5sums = 864c5bb6071568a1a9f26573e090207b
+ md5sums = e520ed91c5c0578cc93df0cd7e03166b
+
+pkgname = 0xdbe-eap
+
diff --git a/0xdbe.desktop b/0xdbe.desktop
new file mode 100644
index 00000000000..88b7da92f19
--- /dev/null
+++ b/0xdbe.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=0xDBE
+Comment=Intelligent IDE for DBAs and SQL Developers
+Exec=0xdbe %u
+Icon=0xdbe
+Terminal=false
+Type=Application
+Categories=Development;IDE;
diff --git a/0xdbe.sh b/0xdbe.sh
new file mode 100644
index 00000000000..2cc34049fe6
--- /dev/null
+++ b/0xdbe.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+export IDEA_JDK=$JAVA_HOME
+exec /usr/share/0xdbe/bin/0xdbe.sh $*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dafafb58704
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Duru Can Celasun <dcelasun[at]gmail[dot]com>
+pkgname=0xdbe-eap
+_pkgname=0xdbe
+pkgver=141.191
+_buildver=141.191
+pkgrel=1
+pkgdesc='Smart SQL Editor and Advanced Database Client Packed Together for Optimum Productivity'
+arch=('i686' 'x86_64') # not 'any' because of fsnotifier
+url="http://www.jetbrains.com/dbe/"
+backup=("usr/share/${_pkgname}/bin/${_pkgname}.vmoptions" "usr/share/${_pkgname}/bin/${_pkgname}64.vmoptions")
+license=('Commercial')
+depends=('java-environment' 'giflib')
+source=("http://download.jetbrains.com/dbe/${_pkgname}-${_buildver}.tar.gz" \
+ "${_pkgname}.sh" \
+ "${_pkgname}.desktop")
+md5sums=('773aa8e4c00ddee2173de78f48fda337'
+ '864c5bb6071568a1a9f26573e090207b'
+ 'e520ed91c5c0578cc93df0cd7e03166b')
+package() {
+ cd "${srcdir}"
+
+ install -d -m755 $pkgdir/usr/{bin,share}
+ cp -a "0xDBE-${_buildver}" "${pkgdir}/usr/share/${_pkgname}"
+ chown -R root:root "${pkgdir}/usr/share"
+ find "$pkgdir/usr/share/$_pkgname" -type d -exec chmod 0755 {} ';'
+ find "$pkgdir/usr/share/$_pkgname" -type f -exec chmod 0644 {} ';'
+
+ # never wait on user input when starting idea; copied from -ce PKGBUILD
+ sed -i '/.*read IGNORE.*/ d' "${pkgdir}"/usr/share/$_pkgname/bin/${_pkgname}.sh
+
+ chmod +x "$pkgdir"/usr/share/$_pkgname/bin/${_pkgname}.sh
+ chmod +x "$pkgdir"/usr/share/$_pkgname/bin/fsnotifier
+ chmod +x "$pkgdir"/usr/share/$_pkgname/bin/fsnotifier64
+
+ install -D -m755 "${srcdir}/${_pkgname}.sh" "${pkgdir}/usr/bin/${_pkgname}"
+ install -D -m644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
+ install -D -m644 "$srcdir/0xDBE-$_buildver/bin/${_pkgname}.png" "$pkgdir/usr/share/pixmaps/${_pkgname}.png"
+ install -D -m644 "$srcdir/0xDBE-$_buildver/license/0xDBE_Preview_license.txt" "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE.txt"
+}