summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAUR Archive Bot2015-08-17 19:16:38 +0200
committerAUR Archive Bot2015-08-17 19:16:38 +0200
commitce0d31bd658b48e1bf2b539305280a292d08a55a (patch)
tree3da6be482bb3bbda1d4f565d1534098604b45fd0
downloadaur-ce0d31bd658b48e1bf2b539305280a292d08a55a.tar.gz
Initial AUR Archive commit of 'sql-workbench'
(full history will be added later)
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD66
2 files changed, 85 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b949bec1f5b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by makepkg 4.2.1
+# Mon Mar 23 21:10:27 UTC 2015
+pkgbase = sql-workbench
+ pkgdesc = SQL Workbench/J is a free, DBMS-independent, cross-platform SQL query tool.
+ pkgver = 117
+ pkgrel = 3
+ url = http://www.sql-workbench.net/
+ arch = any
+ license = custom
+ makedepends = unzip
+ depends = java-runtime>=7
+ provides = SQL-Workbench
+ replaces = sqlworkbench
+ noextract = Workbench-Build117.zip
+ source = http://www.sql-workbench.net/Workbench-Build117.zip
+ md5sums = ebfedd457c49474d2a16a80187680134
+
+pkgname = sql-workbench
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fedf459595d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,66 @@
+# Maintainer: whity <andregoncalo.bras@gmail.com>
+pkgname=sql-workbench
+pkgver=117
+pkgrel=3
+epoch=
+pkgdesc="SQL Workbench/J is a free, DBMS-independent, cross-platform SQL query tool."
+arch=('any')
+url="http://www.sql-workbench.net/"
+license=('custom')
+groups=()
+depends=('java-runtime>=7')
+makedepends=(
+ 'unzip'
+)
+checkdepends=()
+optdepends=()
+provides=('SQL-Workbench')
+conflicts=()
+replaces=('sqlworkbench')
+backup=()
+options=()
+install=
+changelog=
+source=("http://www.sql-workbench.net/Workbench-Build${pkgver}.zip")
+noextract=("Workbench-Build${pkgver}.zip")
+md5sums=('ebfedd457c49474d2a16a80187680134')
+
+build() {
+ unzip "Workbench-Build${pkgver}".zip
+ rm "Workbench-Build${pkgver}".zip
+
+ echo Categories=Development >> SQLWorkbench.desktop
+ sed -i -e 's/Exec=.*/Exec=sqlworkbench/' \
+ -e '/^Path=$/d' \
+ SQLWorkbench.desktop
+}
+
+package() {
+ ###go to source dir
+ cd $srcdir
+
+ # need to keep manual and history in same dir as jar
+ install -m 644 -D -t $pkgdir/opt/SQLWorkbench \
+ sqlworkbench.jar \
+ log4j.xml \
+ SQLWorkbench-Manual.pdf \
+ history.html
+ install -m 755 -D -t $pkgdir/opt/SQLWorkbench \
+ sqlworkbench.sh \
+ sqlwbconsole.sh
+ install -m 644 -D -t $pkgdir/usr/share/sqlworkbench/xslt xslt/*.*
+ install -m 644 -D -t $pkgdir/usr/share/sqlworkbench/manual manual/*.*
+ install -m 644 -D -t $pkgdir/usr/share/sqlworkbench/manual/images manual/images/*.*
+ install -m 644 -D -t $pkgdir/usr/share/pixmaps workbench32.png
+ install -m 644 -D -t $pkgdir/usr/share/icons/hicolor/32x32/apps workbench32.png
+ install -m 644 -D -t $pkgdir/usr/share/licenses/sqlworkbench LICENSE
+ install -m 644 -D -t $pkgdir/usr/share/applications SQLWorkbench.desktop
+ ln -s /opt/SQLWorkbench/history.html $pkgdir/usr/share/sqlworkbench/
+ ln -s /opt/SQLWorkbench/SQLWorkbench-Manual.pdf $pkgdir/usr/share/sqlworkbench/
+
+ #create app link in /usr/bin
+ install -d $pkgdir/usr/bin
+ ln -s /opt/SQLWorkbench/sqlworkbench.sh $pkgdir/usr/bin/sqlworkbench
+}
+
+# vim:set ts=2 sw=2 et: