From cda9b7855059254556af335c80d88676494bdbd9 Mon Sep 17 00:00:00 2001 From: Aaron Purnomo Murniadi Date: Sun, 16 Oct 2022 16:49:59 +0700 Subject: [PATCH 1/2] add recipe for DBeaver Community Edition --- recipes/DBeaver_CE.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 recipes/DBeaver_CE.yml diff --git a/recipes/DBeaver_CE.yml b/recipes/DBeaver_CE.yml new file mode 100644 index 00000000..7177c670 --- /dev/null +++ b/recipes/DBeaver_CE.yml @@ -0,0 +1,24 @@ +app: DBeaver-Community-Edition + +ingredients: + - wget -c "https://dbeaver.io/files/dbeaver-ce-latest-linux.gtk.x86_64.tar.gz" -O /tmp/dbeaver-ce-latest-linux.gtk.x86_64.tar.gz + +script: + - SHORTNAME=dbeaver + - FULLNAME=dbeaver-ce-latest-linux + - ALTNAME=dbeaver + - mkdir -p opt/$SHORTNAME + - tar zxvf /tmp/dbeaver-ce-latest-linux.gtk.x86_64.tar.gz --directory opt/$SHORTNAME --strip-components=1 + - ln -s ../../opt/$SHORTNAME/dbeaver usr/bin/$ALTNAME + - cp opt/$SHORTNAME/$ALTNAME.png . + - cat > $FULLNAME.desktop << EOF + - [Desktop Entry] + - Version=1.0 + - Type=Application + - Name=DBeaver Community Edition + - Icon=$ALTNAME + - Exec=$ALTNAME + - Comment=Free multi-platform database tool for developers, SQL programmers, database administrators and analysts. Supports all popular databases (MySQL, PostgreSQL, MariaDB, SQLite, Oracle, DB2, SQL Server, Sybase, MS Access, Teradata, Firebird, Derby, etc.) + - Categories=Development;Database; + - Terminal=false + - EOF \ No newline at end of file From f325b4951e2b0d09c551bc82e93c0cc55b5b8c40 Mon Sep 17 00:00:00 2001 From: "Aaron P. Murniadi" Date: Sun, 16 Oct 2022 16:53:06 +0700 Subject: [PATCH 2/2] Update DBeaver_CE.yml Add newline at end of file --- recipes/DBeaver_CE.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/DBeaver_CE.yml b/recipes/DBeaver_CE.yml index 7177c670..95f4db1c 100644 --- a/recipes/DBeaver_CE.yml +++ b/recipes/DBeaver_CE.yml @@ -21,4 +21,5 @@ script: - Comment=Free multi-platform database tool for developers, SQL programmers, database administrators and analysts. Supports all popular databases (MySQL, PostgreSQL, MariaDB, SQLite, Oracle, DB2, SQL Server, Sybase, MS Access, Teradata, Firebird, Derby, etc.) - Categories=Development;Database; - Terminal=false - - EOF \ No newline at end of file + - EOF +