summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Sivak2018-11-29 00:33:51 -0500
committerJohn Sivak2018-11-29 00:33:51 -0500
commit468d965a0cccc51cf2951d5063066c8191e0e41b (patch)
tree49e836a35dbcd261c833a496bc204a8c857f5918
parent5739caf38217183364ebddccb9b31c2c9fc9abb5 (diff)
downloadaur-468d965a0cccc51cf2951d5063066c8191e0e41b.tar.gz
Add a PKGBUILD for beta release testing.
-rw-r--r--PKGBUILD-beta55
1 files changed, 55 insertions, 0 deletions
diff --git a/PKGBUILD-beta b/PKGBUILD-beta
new file mode 100644
index 00000000000..4cc0af60961
--- /dev/null
+++ b/PKGBUILD-beta
@@ -0,0 +1,55 @@
+# Maintainer: John Sivak <jsivak@winterjewel.com>
+# Previous Maintainer: Joseph Post <joe@jcpst.com>
+# Previous Maintainer: Stephan Wienczny <stephan@wienczny.de>
+
+pkgname=dbeaver-ee
+# beta
+pkgver=5.2.5
+# release
+#pkgver=5.2.0
+pkgrel=1
+pkgdesc="A universal database tool for developers and database administrators. Enterprise Edition includes NoSQL database support"
+arch=('i686' 'x86_64')
+url="http://dbeaver.com/"
+license=("GPL")
+depends=('java-runtime>=1.6' 'gtk2' 'gtk-update-icon-cache')
+install=dbeaver-ee.install
+
+source=(dbeaver-ee.desktop dbeaver-ee.install)
+# beta source
+source_i686=(http://dbeaver.com/files/ea/dbeaver-ee-${pkgver}-linux.gtk.x86.tar.gz)
+source_x86_64=(http://dbeaver.com/files/ea/dbeaver-ee-${pkgver}-linux.gtk.x86_64.tar.gz)
+# release source
+#source_i686=(http://dbeaver.com/files/${pkgver}/dbeaver-ee-${pkgver}-linux.gtk.x86.tar.gz)
+#source_x86_64=(http://dbeaver.com/files/${pkgver}/dbeaver-ee-${pkgver}-linux.gtk.x86_64.tar.gz)
+sha256sums=('453912912ae8377b16ef74a3e7d93ea588792ee8f7054a573e9fe9b93cd9265f'
+ '0c2a75baa39459fa56159e982d9f28c966837561bd52dffd24bac87b8d65555f')
+sha256sums_i686=('e6d50b57042cf0f59015fff803f137f18b83ae5c5466e7e08b06c2aad8a07cad')
+sha256sums_x86_64=('c4acce365563142c8032a99e52dc8596b469c1e0e3fb6eabb31be4303d66b4f1')
+
+noextract=("dbeaver-ee-${pkgver}-linux.gtk.x86.tar.gz"
+ "dbeaver-ee-${pkgver}-linux.gtk.x86_64.tar.gz")
+
+prepare() {
+ mkdir -p $srcdir/$pkgname
+ cd $srcdir/$pkgname
+ if [ "$CARCH" = "x86_64" ]; then
+ tar -xf "$srcdir/dbeaver-ee-${pkgver}-linux.gtk.x86_64.tar.gz"
+ else
+ tar -xf "$srcdir/dbeaver-ee-${pkgver}-linux.gtk.x86.tar.gz"
+ fi
+}
+
+package() {
+ cd $pkgdir
+ mkdir -p opt/
+ mkdir -p usr/bin
+ mkdir -p usr/share/applications
+ mkdir -p usr/share/icons/hicolor/48x48/apps
+
+ cp -r $srcdir/$pkgname/dbeaver opt/$pkgname
+ chmod +x opt/$pkgname/dbeaver
+ cp opt/$pkgname/icon.xpm usr/share/icons/hicolor/48x48/apps/${pkgname}.xpm
+ ln -s /opt/${pkgname}/dbeaver usr/bin/dbeaver-ee
+ install -m 644 $srcdir/dbeaver-ee.desktop $pkgdir/usr/share/applications/
+}