diff --git a/.gitignore b/.gitignore
index 9fe3955..34e0f08 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,10 @@
 *_source.*
+*.debian.tar.xz
+*.dsc
+*.build
+*.buildinfo
+*.changes
+**/debian/files
+**/debian/.debhelper/
+**/debian/intellij-idea-community/
+**/debian/intellij-idea-community.*
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..bd76436
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,73 @@
+default:
+    image: registry.gitlab.com/mmk2410/intellij-idea-pkg-image:oracular
+
+variables:
+    PACKAGE: "intellij-idea-community"
+    TZ: UTC
+    NAME: "Marcel Kapfer"
+    EMAIL: "opensource@mmk2410.org"
+
+stages:
+  - autoupdate
+  - build
+  - deploy
+
+update-job:
+  stage: autoupdate
+  script:
+    ##
+    ## Configure SSH key
+    ##
+    - eval $(ssh-agent -s)
+    - chmod 400 "$SSH_PRIVATE_KEY"
+    - ssh-add "$SSH_PRIVATE_KEY"
+    - mkdir ~/.ssh
+    - chmod 700 ~/.ssh
+    - cp "$SSH_KNOWN_HOSTS" ~/.ssh/known_hosts
+    - chmod 644 ~/.ssh/known_hosts
+
+    ##
+    ## Configure Git setup
+    ##
+    - git config user.name "$NAME"
+    - git config user.email "$EMAIL"
+    - git remote set-url origin "$GIT_URL"
+
+    ##
+    ## Run autoupdate script which handles everything else.
+    ##
+    - ./autoupdate.sh
+  rules:
+    - if: $CI_PIPELINE_SOURCE == "schedule"
+
+build-job:
+  stage: build
+  script:
+    - export VERSION=$(git describe --abbrev=0 --tags | cut -d'v' -f2)
+    - cd "$PACKAGE"_"$VERSION" || exit
+    - debuild -us -uc
+    - export PACKAGE_FILE="$PACKAGE"_"$VERSION"-1_all.deb
+  artifacts:
+    name: $PACKAGE_FILE
+    paths:
+        - ./*.deb
+  rules:
+    - if: $CI_COMMIT_TAG
+
+deploy-job:
+  image: registry.gitlab.com/mmk2410/intellij-idea-pkg-image:$UBUNTU_VERSION
+  stage: deploy
+  script:
+    - export VERSION=$(git describe --abbrev=0 --tags | cut -d'v' -f2)
+    - echo "$GPG_PRIVATE_KEY" | tr -d '\r' | gpg --import -
+    - echo "$GPG_PUBLIC_KEY" | tr -d '\r' | gpg --import -
+    - cd "$PACKAGE"_"$VERSION" || exit
+    - dch -D $UBUNTU_VERSION -p -l +$UBUNTU_VERSION "Upstream version $VERSION."
+    - debuild -S -sa -k6D289F254B41A009B6AB5AC3122720F932D5CE46
+    - cd ..
+    - dput ppa:mmk2410/intellij-idea "$PACKAGE"_"$VERSION"-1+"$UBUNTU_VERSION"1_source.changes
+  rules:
+    - if: $CI_COMMIT_TAG
+  parallel:
+    matrix:
+      - UBUNTU_VERSION: [trusty, xenial, bionic, focal, jammy, noble, oracular]
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index da1a772..559e93d 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -1,5 +1,8 @@
-Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>
+Marcel Kapfer (mmk2410) <opensource@mmk2410.org>
 Bart de Koning <bartdaking@gmail.com>
 Francesco Levorato (flevour) <git@flevour.net>
 Andy Balaam (andybalaam) <mail@artificialworlds.net>
 Patrick Lucas <me@patricklucas.com>
+Stefan65
+Ben Webb (benjaminedwardwebb) <benjaminedwardwebb@gmail.com>
+Danny Trunk (dtrunk90) <dtrunk90@gmail.com>
diff --git a/README.md b/README.md
index 3f575e2..3940bed 100644
--- a/README.md
+++ b/README.md
@@ -1,94 +1,35 @@
 # intellij-idea-community
-.deb Packages of IntelliJ IDEA Community Edition for Ubuntu
 
-The latest upstream version is 2016.2.4 which is included in the package version 2016.2.4.
+Debian packages of IntelliJ IDEA Community Edition for Ubuntu
 
-## Adding the ppa to Ubuntu
+I also provide a package for the [Ultimate Edition](https://gitlab.com/mmk2410/intellij-idea-ultimate).
+
+## Adding the PPA (on Ubuntu)
 
 ```
-sudo apt-add-repository ppa:mmk2410/intellij-idea-community
+sudo apt-add-repository ppa:mmk2410/intellij-idea
 sudo apt-get update
 sudo apt-get install intellij-idea-community
 ```
 
+## Report issues
+
+You can report issues, questions or feedback concerning the package [on GitLab](https://gitlab.com/mmk2410/intellij-idea-community). If relevant, please include which version
+
 ## Updating the package
 
-To update the version follow the following steps (the old version is here 15.0.1 and the new one 15.0.2):
+Since I automated the updating process quite a bit using the `update-new-version.sh` as well as preparations on my local system I no longer accept merge requests for updating the package to a new version. Processing them would take me much more time than doing the update myself.
 
- 1. Fork the repo
- 2. Create your own feature branch
+In case I'm late for an update (over 1-2 weeks), feel free to create an issue [on GitLab](https://gitlab.com/mmk2410/intellij-idea-community). I'm also working on a fully automated system for updating the packages but this will still take a while.
 
- ```
- git checkout -b version_15.0.2
- ```
-
- 3. Rename the following
-
- ```
- mv intellij-idea-community_15.0.1 intellij-idea-community_15.0.2
- mv intellij-idea-community_15.0.1.orig.tar.gz intellij-idea-community_15.0.2.orig.tar.gz
- ```
-
- 4. Edit the README.md and update the version numbers
-
- 5. Go into the build files directory
-
- ```
- cd intellij-idea-community_15.0.2/debian
- ```
-
- 6. Edit the changelog file and prepend a new changelog entry. You can just copy an old one and update the values in it
-
- 7. Edit the preinst file and update the download url. Normally this is done by updating the version number
-
- 8. Go one directory back
-
- ```
- cd ..
- ```
-
- 9. Run the following command to build the package for testing purposes
-
- ```
- debuild -us -uc
- ```
-
- 10. Go another directory back
-
- ```
- cd ..
- ```
-
- 11. Remove the old files
-
- ```
- rm intellij-idea-community_15.0.1-1*
- ```
-
- 12. Install the package to test it
-
- ```
- sudo dpkg -i intellij-idea-community_15.0.2-1_all.deb
- ```
-
- 13. If everything works, add yourself to the CONTRIBUTORS.txt
-
- 14. Commit your changes
-
- ```
- git add -A
- git commit -m "Version 15.0.2"
- ```
-
- 15. Push to the branch
-
- ```
- git push origin version_15.0.2
- ```
-
- 16. Create new pull request
-
-
-## Setting up the build environment
+### Setting up the build environment
 
 Run `sudo apt install build-dep debhelper`.
+
+It is also necessary to setup Git with your username and email address as explained in numerous tutorials.
+
+### Updating the package
+
+Run `./update-new-version.sh "$new-version"`
+
+Where `$new-version` is in the format `[year].[major].[minor]`.
diff --git a/autoupdate.sh b/autoupdate.sh
new file mode 100755
index 0000000..1386bb7
--- /dev/null
+++ b/autoupdate.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+
+set -euo pipefail
+
+dir="$(find . -maxdepth 1 -type d -name "intellij-idea-*")"
+pushd "$dir" || exit 1
+
+set +e
+check="$(uscan --dehs --no-download)"
+set -e
+
+status="$(echo "$check" | xmllint --xpath 'string(/dehs/status)' -)"
+
+if [[ "$status" != "newer package available" ]]; then
+    echo "No newer package available."
+    exit
+fi
+
+new_version="$(echo "$check" | xmllint --xpath 'string(/dehs/upstream-version)' -)"
+
+popd
+
+./update-new-version.sh "$new_version"
+
+git add -A
+git commit -m "Upstream version $new_version"
+
+git switch main
+git merge --ff-only version-"$new_version"
+git push origin main
+
+git tag -a v"$new_version" -m "Upstream version $new_version"
+git push --tags origin main
diff --git a/intellij-idea-community_2017.1-1.debian.tar.xz b/intellij-idea-community_2017.1-1.debian.tar.xz
deleted file mode 100644
index 589277c..0000000
Binary files a/intellij-idea-community_2017.1-1.debian.tar.xz and /dev/null differ
diff --git a/intellij-idea-community_2017.1-1.dsc b/intellij-idea-community_2017.1-1.dsc
deleted file mode 100644
index ac4cc1d..0000000
--- a/intellij-idea-community_2017.1-1.dsc
+++ /dev/null
@@ -1,39 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-Format: 3.0 (quilt)
-Source: intellij-idea-community
-Binary: intellij-idea-community
-Architecture: all
-Version: 2017.1-1
-Maintainer: Marcel Michael Kapfer <marcelmichaelkapfer@yahoo.co.nz>
-Standards-Version: 3.9.8
-Build-Depends: debhelper (>= 7.0.50~)
-Package-List:
- intellij-idea-community deb devel optional arch=all
-Checksums-Sha1:
- 2af60d7bb0d2765946394c4200dac6e38abe4b29 5641 intellij-idea-community_2017.1.orig.tar.gz
- 2809a8418e7d68a2389c45c1d6201f51a8a380a1 2624 intellij-idea-community_2017.1-1.debian.tar.xz
-Checksums-Sha256:
- 93646f0ed33fb1c62473e12c18f9fa7d90ade1ec3ec2c00b92eafd9fac728882 5641 intellij-idea-community_2017.1.orig.tar.gz
- e9fb258e42f8ff318ef311b78f5f45a2a27314cf7f08cdd90c668ce0ccbf7c63 2624 intellij-idea-community_2017.1-1.debian.tar.xz
-Files:
- 38a2df9af92629b31beaa46222d3e00e 5641 intellij-idea-community_2017.1.orig.tar.gz
- df588829e9b6592ca145d054a07ec85a 2624 intellij-idea-community_2017.1-1.debian.tar.xz
-
------BEGIN PGP SIGNATURE-----
-
-iQIcBAEBCAAGBQJY1SYCAAoJECuF2UqwCcGYijsP/1VJ5aC4hwiPV6sH8/eRdROT
-eNqsrTiL+SXvetrQwBj+8/JbeZOx44J7Yxfk2bRmoodBOCbr+JkGe9dedKs6NHuR
-Fp6H5jbdmgcE6SdHTp2Juic+947bmGcQcBvnCTXWoEBSDvTWcUjRnaRQoJQ06p0y
-+BA9lLZrskh1LcvRBbu60bwif7RpAHrxtGer6Vc3e+XUWUDHbzifxLS4lEtm1IDp
-1aiZ1NzO1N7bD3w0OEWPcgDfGrTQRHJazclXL58EdtIkgMcCwls4kqd5fe+ExPMR
-9BW3dAd9JydJS2va6FmmFuwc6f6iWaOXgGYAi9iaG0WGpH6lIxpIfKVRzzH1O85U
-LEi9CtGi+dZb3hYicHvecY47+XscfRwkILiiqHaVnXbbLJ2uXg1G3qjYu0KToLXd
-0/z9noPHiBWRt4Optcj7xNjcUZBHrRrSiuFMtqp5xlk51ElLyk0P3AHBoLWQ7l+e
-yD2XbD1KN0im/WPXlfzrlbm752mUrPMT0FYTdDX3A48PQ0dPMApq10ApoNpNkuzF
-K4hkv9uFXj8iG6W21bLjSXMMzuYiPuk99hpB6tQ+22iA6dHE9og1UZbcwsv8p4s3
-+ZPr6DaX3+V3oJp7jYiLfzRxbwo0ZC67QFkYvv0As5TJi3ncW/SqlkZLY1WNZXMp
-D4U5Y43wG8QtVx5AhuOq
-=Os6e
------END PGP SIGNATURE-----
diff --git a/intellij-idea-community_2017.1-1_all.deb b/intellij-idea-community_2017.1-1_all.deb
deleted file mode 100644
index e3c9b25..0000000
Binary files a/intellij-idea-community_2017.1-1_all.deb and /dev/null differ
diff --git a/intellij-idea-community_2017.1-1_amd64.build b/intellij-idea-community_2017.1-1_amd64.build
deleted file mode 100644
index 38b51dd..0000000
--- a/intellij-idea-community_2017.1-1_amd64.build
+++ /dev/null
@@ -1,50 +0,0 @@
- dpkg-buildpackage -rfakeroot -D -us -uc
-dpkg-buildpackage: info: source package intellij-idea-community
-dpkg-buildpackage: info: source version 2017.1-1
-dpkg-buildpackage: info: source distribution yakkety
-dpkg-buildpackage: info: source changed by Marcel Kapfer (mmk2410) <marcelmichaelkapfer@gmail.com>
- dpkg-source --before-build intellij-idea-community_2017.1
-dpkg-buildpackage: info: host architecture amd64
- fakeroot debian/rules clean
-dh clean
-   dh_testdir
-   dh_auto_clean
-   dh_clean
- dpkg-source -b intellij-idea-community_2017.1
-dpkg-source: info: using source format '3.0 (quilt)'
-dpkg-source: info: building intellij-idea-community using existing ./intellij-idea-community_2017.1.orig.tar.gz
-dpkg-source: info: building intellij-idea-community in intellij-idea-community_2017.1-1.debian.tar.xz
-dpkg-source: info: building intellij-idea-community in intellij-idea-community_2017.1-1.dsc
- debian/rules build
-dh build
-   dh_testdir
-   dh_update_autotools_config
-   dh_auto_configure
-   dh_auto_build
-   dh_auto_test
- fakeroot debian/rules binary
-dh binary
-   dh_testroot
-   dh_prep
-   dh_auto_install
-   dh_install
-   dh_installdocs
-   dh_installchangelogs
-   dh_icons
-   dh_perl
-   dh_link
-   dh_strip_nondeterminism
-   dh_compress
-   dh_fixperms
-   dh_installdeb
-   dh_gencontrol
-   dh_md5sums
-   dh_builddeb
-dpkg-deb: building package 'intellij-idea-community' in '../intellij-idea-community_2017.1-1_all.deb'.
- dpkg-genchanges  >../intellij-idea-community_2017.1-1_amd64.changes
-dpkg-genchanges: info: including full source code in upload
- dpkg-source --after-build intellij-idea-community_2017.1
-dpkg-buildpackage: info: full upload (original source is included)
-Now running lintian...
-W: intellij-idea-community: binary-without-manpage usr/bin/intellij-idea-community
-Finished running lintian.
diff --git a/intellij-idea-community_2017.1-1_amd64.changes b/intellij-idea-community_2017.1-1_amd64.changes
deleted file mode 100644
index 4af56f9..0000000
--- a/intellij-idea-community_2017.1-1_amd64.changes
+++ /dev/null
@@ -1,31 +0,0 @@
-Format: 1.8
-Date: Fri, 24 Mar 2017 14:23:06 +0100
-Source: intellij-idea-community
-Binary: intellij-idea-community
-Architecture: source all
-Version: 2017.1-1
-Distribution: yakkety
-Urgency: low
-Maintainer: Marcel Michael Kapfer <marcelmichaelkapfer@yahoo.co.nz>
-Changed-By: Marcel Kapfer (mmk2410) <marcelmichaelkapfer@gmail.com>
-Description:
- intellij-idea-community - IntelliJ IDEA Community Edition
-Changes:
- intellij-idea-community (2017.1-1) yakkety; urgency=low
- .
-   * Upstream Version 2017.1
-Checksums-Sha1:
- e540a9227cd0beeb6dace716857128c3fa34dcff 943 intellij-idea-community_2017.1-1.dsc
- 2af60d7bb0d2765946394c4200dac6e38abe4b29 5641 intellij-idea-community_2017.1.orig.tar.gz
- 2809a8418e7d68a2389c45c1d6201f51a8a380a1 2624 intellij-idea-community_2017.1-1.debian.tar.xz
- 8aa1916a6fd03afd0e98d7391734dd7f67afd8fe 8826 intellij-idea-community_2017.1-1_all.deb
-Checksums-Sha256:
- ce0edb6ceb7c9b378ae67303096eb5bc451d3a4b73f8f21562f0747af83b0adb 943 intellij-idea-community_2017.1-1.dsc
- 93646f0ed33fb1c62473e12c18f9fa7d90ade1ec3ec2c00b92eafd9fac728882 5641 intellij-idea-community_2017.1.orig.tar.gz
- e9fb258e42f8ff318ef311b78f5f45a2a27314cf7f08cdd90c668ce0ccbf7c63 2624 intellij-idea-community_2017.1-1.debian.tar.xz
- 2fab4fcc48f8343c76b5141f7de05bdf640d6f8c2af650a4e2e0ce29b45230c0 8826 intellij-idea-community_2017.1-1_all.deb
-Files:
- 4109b0c929a083679606a7dbeb0abb30 943 devel optional intellij-idea-community_2017.1-1.dsc
- 38a2df9af92629b31beaa46222d3e00e 5641 devel optional intellij-idea-community_2017.1.orig.tar.gz
- df588829e9b6592ca145d054a07ec85a 2624 devel optional intellij-idea-community_2017.1-1.debian.tar.xz
- 6769fe6f1ce463527eff188a510f0c6e 8826 devel optional intellij-idea-community_2017.1-1_all.deb
diff --git a/intellij-idea-community_2017.1.orig.tar.gz b/intellij-idea-community_2017.1.orig.tar.gz
deleted file mode 100644
index 810309f..0000000
Binary files a/intellij-idea-community_2017.1.orig.tar.gz and /dev/null differ
diff --git a/intellij-idea-community_2017.1/debian/changelog b/intellij-idea-community_2017.1/debian/changelog
deleted file mode 100644
index ee55a6e..0000000
--- a/intellij-idea-community_2017.1/debian/changelog
+++ /dev/null
@@ -1,163 +0,0 @@
-intellij-idea-community (2017.1-1) yakkety; urgency=low
-
-  * Upstream Version 2017.1
-
- -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@gmail.com>  Fri, 24 Mar 2017 14:23:06 +0100
-
-intellij-idea-community (2016.3.4-1) yakkety; urgency=low
-
-  * Upstream Version 2016.3.4
-
- -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Thu, 02 Feb 2017 12:12:06 +0100
-
-intellij-idea-community (2016.3.3-1) yakkety; urgency=low
-
-  * Upstream Version 2016.3.3
-
- -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Thu, 19 Jan 2017 19:45:39 +0100
-
-intellij-idea-community (2016.3.2-1) yakkety; urgency=low
-
-  * Upstream Version 2016.3.2
-
- -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Fri, 30 Dec 2016 23:21:26 +0100
-
-intellij-idea-community (2016.3.1-1) yakkety; urgency=low
-
-  * Upstream Version 2016.3.1
-
- -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Tue, 13 Dec 2016 21:13:17 +0100
- 
-intellij-idea-community (2016.3-1) yakkety; urgency=low
-
-  * Upstream Version 2016.3
-
- -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Thu, 24 Nov 2016 21:21:17 +0100
- 
-intellij-idea-community (2016.2.5-1) yakkety; urgency=low
-
-  * Upstream Version 2016.2.5
-
- -- Andy Balaam (andybalaam) <mail@artificialworlds.net>  Thu, 20 Oct 2016 09:27:23 +0100
- 
-intellij-idea-community (2016.2.4-1) yakkety; urgency=low
-
-  * Upstream Version 2016.2.4
-
- -- Francesco Levorato (flevour) <git@flevour.net>  Thu, 06 Oct 2016 10:34:00 +0200
-
-intellij-idea-community (2016.2.3-1) yakkety; urgency=low
-
-  * Upstream Version 2016.2.3
-
- -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Sat, 03 Sep 2016 23:45:30 +0200
-
-intellij-idea-community (2016.2.2-1) yakkety; urgency=low
-
-  * Upstream Version 2016.2.2
-
- -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Fri, 19 Aug 2016 20:56:30 +0200
-
-intellij-idea-community (2016.2.1-1) yakkety; urgency=low
-
-  * Upstream Version 2016.2.1
-
- -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Mon, 08 Aug 2016 21:21:30 +0200
-
-intellij-idea-community (2016.2.0-1) yakkety; urgency=low
-
-  * Upstream Version 2016.2.0
-
- -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Wed, 13 Jul 2016 19:38:30 +0200
-
-intellij-idea-community (2016.1.3-1) xenial; urgency=low
-
-  * Upstream Version 2016.1.3
-
- -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Tue, 07 Jun 2016 08:49:30 +0200
-
-intellij-idea-community (2016.1.2-1) xenial; urgency=high
-
-  * Upstream Version 2016.1.2
-
- -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Wed, 11 May 2016 17:12:30 +0200
-
-intellij-idea-community (2016.1.1-1) wily; urgency=low
-
-  * Upstream Version 2016.1.1
-
- -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Sun, 03 Apr 2016 20:31:50 +0200
-
-intellij-idea-community (2016.1-1) wily; urgency=low
-
-  * Upstream Version 2016.1
-
- -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Mon, 21 Mar 2016 17:44:50 +0200
-
-intellij-idea-community (15.0.4-1) wily; urgency=low
-
-  * Upstream Version 15.0.4
-
- -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Tue, 01 Mar 2016 19:44:50 +0200
-
-intellij-idea-community (15.0.3-1) wily; urgency=low
-
-  * Upstream Version 15.0.3
-
- -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Wed, 20 Jan 2015 15:01:50 +0100
-
-intellij-idea-community (15.0.2-1) wily; urgency=low
-
-  * Upstream Version 15.0.2
-
- -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Sun, 13 Dec 2015 13:28:50 +0100
-
-
-intellij-idea-community (15.0.1-1) wily; urgency=low
-
-  * Upstream Version 15.0.1
-
- -- Bart de Koning <bratdaking@gmail.com>  Tue, 08 Dec 2015 11:42:22 +0100
-
-intellij-idea-community (15.0.0-1) wily; urgency=low
-
-  * Upstream Version 15.0
-
- -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Fri, 06 Nov 2015 14:35:50 +0100
-
-intellij-idea-community (14.1.4-1) vivid; urgency=low
-
-  * Upstream Version 14.1.4
-
- -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Sun, 05 Jul 2015 21:15:50 +0200
-
-intellij-idea-community (14.1.3-1) vivid; urgency=low
-
-  * Upstream Vesion 14.1.3
-
- -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Sun, 17 May 2015 11:23:50 +0200
-
-intellij-idea-community (14.1.2-1) vivid; urgency=low
-
-  * Upstream Vesion 14.1.2
-
- -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Sun, 26 Apr 2015 10:31:50 +0200
-
-intellij-idea-community (14.1.1-1) vivid; urgency=low
-
-  * Upstream Version 14.1.1
-
- -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Thur, 02 Apr 2015 12:50:50 +0200
-
-
-intellij-idea-community (1.1-1) vivid; urgency=low
-
-  * Upstream Version 14.1
-
- -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Mon, 30 Mar 2015 08:14:50 +0200
-
-intellij-idea-community (1.0-1) utopic; urgency=low
-
-  * Initial release.
-
- -- Marcel Michael Kapfer <marcelmichaelkapfer@yahoo.co.nz>  Sat, 07 Mar 2015 19:35:50 +0100
diff --git a/intellij-idea-community_2017.1/debian/compat b/intellij-idea-community_2017.1/debian/compat
deleted file mode 100644
index ec63514..0000000
--- a/intellij-idea-community_2017.1/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/intellij-idea-community_2017.1/debian/control b/intellij-idea-community_2017.1/debian/control
deleted file mode 100644
index 0ef981c..0000000
--- a/intellij-idea-community_2017.1/debian/control
+++ /dev/null
@@ -1,13 +0,0 @@
-Source: intellij-idea-community
-Section: devel
-Priority: optional
-Maintainer: Marcel Michael Kapfer <marcelmichaelkapfer@yahoo.co.nz>
-Build-Depends: debhelper (>= 7.0.50~)
-Standards-Version: 3.9.8
-
-
-Package: intellij-idea-community
-Architecture: all
-Depends: ${misc:Depends}, lib32ncurses5 | libncurses5, default-jdk | oracle-java7-installer | oracle-java8-installer, libc6-i386, lib32stdc++6, lib32gcc1, lib32ncurses5, lib32z1, lib32z1-dev, unzip
-Description: IntelliJ IDEA Community Edition
- A intelligent Java IDE by JetBrains
diff --git a/intellij-idea-community_2017.1/debian/postinst b/intellij-idea-community_2017.1/debian/postinst
deleted file mode 100644
index e3f9523..0000000
--- a/intellij-idea-community_2017.1/debian/postinst
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-set -e
-
-cd /opt/
-
-## Extract the package
-sudo tar xf /opt/ideaIC-*
-
-## Rename the directory
-sudo mv /opt/idea-IC-* /opt/intellij-idea-community
-
-## Remove  the tar.gz package
-sudo rm /opt/ideaIC-*
-
-## Install the .desktop file, if necessary
-if [ -x "/usr/bin/desktop-file-install" ]; then
-    sudo desktop-file-install /usr/share/applications/intellij-idea-community.desktop
-fi
-
-## Switch to new repository, if necessary
-oldrepo="mmk2410\/intellij-idea-community"
-newrepo="mmk2410\/intellij-idea"
-grep -rl "$oldrepo" /etc/apt/sources.list | xargs -r sed -i "s/$oldrepo/$newrepo/g"
-grep -rl "$oldrepo" /etc/apt/sources.list.d/ | xargs -r sed -i "s/$oldrepo/$newrepo/g"
-
-##DEBHELPER##
diff --git a/intellij-idea-community_2017.1/debian/preinst b/intellij-idea-community_2017.1/debian/preinst
deleted file mode 100644
index 7404119..0000000
--- a/intellij-idea-community_2017.1/debian/preinst
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-set -e
-
-cd /opt/
-
-## Download IntelliJ IDEA Community from the jetbrain servers
-wget http://download-cf.jetbrains.com/idea/ideaIC-2017.1.tar.gz
-
-##DEBHELPER##
diff --git a/intellij-idea-community_2017.1/intellij-idea-ce.png b/intellij-idea-community_2017.1/intellij-idea-ce.png
deleted file mode 100644
index afde6ba..0000000
Binary files a/intellij-idea-community_2017.1/intellij-idea-ce.png and /dev/null differ
diff --git a/intellij-idea-community_2017.1/intellij-idea-community b/intellij-idea-community_2017.1/intellij-idea-community
deleted file mode 100755
index f788ea5..0000000
--- a/intellij-idea-community_2017.1/intellij-idea-community
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-export IDEA_JDK=$JAVA_HOME
-exec /opt/intellij-idea-community/bin/idea.sh "$@"
diff --git a/intellij-idea-community_2025.1-1_all.deb b/intellij-idea-community_2025.1-1_all.deb
new file mode 100644
index 0000000..9eb4be6
Binary files /dev/null and b/intellij-idea-community_2025.1-1_all.deb differ
diff --git a/intellij-idea-community_2025.1.orig.tar.gz b/intellij-idea-community_2025.1.orig.tar.gz
new file mode 100644
index 0000000..c92520a
Binary files /dev/null and b/intellij-idea-community_2025.1.orig.tar.gz differ
diff --git a/intellij-idea-community_2025.1/debian/changelog b/intellij-idea-community_2025.1/debian/changelog
new file mode 100644
index 0000000..af97222
--- /dev/null
+++ b/intellij-idea-community_2025.1/debian/changelog
@@ -0,0 +1,823 @@
+intellij-idea-community (2025.1-1) oracular; urgency=medium
+
+  * Upstream version 2025.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 16 Apr 2025 13:02:18 +0000
+
+intellij-idea-community (2024.3.5-1) oracular; urgency=medium
+
+  * Upstream version 2024.3.5
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Tue, 18 Mar 2025 14:02:11 +0000
+
+intellij-idea-community (2024.3.4.1-1) oracular; urgency=medium
+
+  * Upstream version 2024.3.4.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 06 Mar 2025 14:02:13 +0000
+
+intellij-idea-community (2024.3.4-1) oracular; urgency=medium
+
+  * Upstream version 2024.3.4
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 28 Feb 2025 14:02:33 +0000
+
+intellij-idea-community (2024.3.3-1) oracular; urgency=medium
+
+  * Upstream version 2024.3.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 13 Feb 2025 14:02:11 +0000
+
+intellij-idea-community (2024.3.2.2-1) oracular; urgency=medium
+
+  * Upstream version 2024.3.2.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 30 Jan 2025 14:02:14 +0000
+
+intellij-idea-community (2024.3.2.1-1) oracular; urgency=medium
+
+  * Upstream version 2024.3.2.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 24 Jan 2025 14:02:14 +0000
+
+intellij-idea-community (2024.3.2-1) oracular; urgency=medium
+
+  * Upstream version 2024.3.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 17 Jan 2025 14:02:16 +0000
+
+intellij-idea-community (2024.3.1.1-1) oracular; urgency=medium
+
+  * Upstream version 2024.3.1.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 19 Dec 2024 14:02:02 +0000
+
+intellij-idea-community (2024.3.1-1) oracular; urgency=medium
+
+  * Upstream version 2024.3.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Mon, 09 Dec 2024 14:02:30 +0000
+
+intellij-idea-community (2024.3-1) noble; urgency=medium
+
+  * Upstream version 2024.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 13 Nov 2024 14:02:08 +0000
+
+intellij-idea-community (2024.2.4-1) noble; urgency=medium
+
+  * Upstream version 2024.2.4
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 24 Oct 2024 13:01:57 +0000
+
+intellij-idea-community (2024.2.3-1) noble; urgency=medium
+
+  * Upstream version 2024.2.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 26 Sep 2024 13:02:05 +0000
+
+intellij-idea-community (2024.2.2-1) noble; urgency=medium
+
+  * Upstream version 2024.2.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 19 Sep 2024 13:02:11 +0000
+
+intellij-idea-community (2024.2.1-1) noble; urgency=medium
+
+  * Upstream version 2024.2.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 30 Aug 2024 13:02:05 +0000
+
+intellij-idea-community (2024.2.0.2-1) noble; urgency=medium
+
+  * Upstream version 2024.2.0.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 21 Aug 2024 13:02:14 +0000
+
+intellij-idea-community (2024.2.0.1-1) noble; urgency=medium
+
+  * Upstream version 2024.2.0.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 14 Aug 2024 13:02:13 +0000
+
+intellij-idea-community (2024.2-1) noble; urgency=medium
+
+  * Upstream version 2024.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 07 Aug 2024 13:02:16 +0000
+
+intellij-idea-community (2024.1.5-1) noble; urgency=medium
+
+  * Upstream version 2024.1.5
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Tue, 06 Aug 2024 13:02:58 +0000
+
+intellij-idea-community (2024.1.4-1) noble; urgency=medium
+
+  * Upstream version 2024.1.4
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 21 Jun 2024 13:02:06 +0000
+
+intellij-idea-community (2024.1.3-1) noble; urgency=medium
+
+  * Upstream version 2024.1.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Tue, 11 Jun 2024 13:02:20 +0000
+
+intellij-idea-community (2024.1.2-1) lunar; urgency=medium
+
+  * Upstream version 2024.1.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 23 May 2024 13:02:32 +0000
+
+intellij-idea-community (2024.1.1-1) lunar; urgency=medium
+
+  * Upstream version 2024.1.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Tue, 30 Apr 2024 13:02:13 +0000
+
+intellij-idea-community (2024.1-1) lunar; urgency=medium
+
+  * Upstream version 2024.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 04 Apr 2024 13:02:10 +0000
+
+intellij-idea-community (2023.3.6-1) lunar; urgency=medium
+
+  * Upstream version 2023.3.6
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 22 Mar 2024 14:02:38 +0000
+
+intellij-idea-community (2023.3.5-1) lunar; urgency=medium
+
+  * Upstream version 2023.3.5
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 13 Mar 2024 14:02:14 +0000
+
+intellij-idea-community (2023.3.4-1) lunar; urgency=medium
+
+  * Upstream version 2023.3.4
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 14 Feb 2024 14:02:18 +0000
+
+intellij-idea-community (2023.3.3-1) lunar; urgency=medium
+
+  * Upstream version 2023.3.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 26 Jan 2024 14:02:27 +0000
+
+intellij-idea-community (2023.3.2-1) lunar; urgency=medium
+
+  * Upstream version 2023.3.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 21 Dec 2023 14:02:13 +0000
+
+intellij-idea-community (2023.3.1-1) lunar; urgency=medium
+
+  * Upstream version 2023.3.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 13 Dec 2023 14:04:39 +0000
+
+intellij-idea-community (2023.3-1) lunar; urgency=medium
+
+  * Upstream version 2023.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 07 Dec 2023 14:02:23 +0000
+
+intellij-idea-community (2023.2.5-1) lunar; urgency=medium
+
+  * Upstream version 2023.2.5
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 10 Nov 2023 14:01:08 +0000
+
+intellij-idea-community (2023.2.4-1) lunar; urgency=medium
+
+  * Upstream version 2023.2.4
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 25 Oct 2023 13:01:18 +0000
+
+intellij-idea-community (2023.2.3-1) lunar; urgency=medium
+
+  * Upstream version 2023.2.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 12 Oct 2023 13:01:19 +0000
+
+intellij-idea-community (2023.2.2-1) lunar; urgency=medium
+
+  * Upstream version 2023.2.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 14 Sep 2023 13:01:13 +0000
+
+intellij-idea-community (2023.2.1-1) lunar; urgency=medium
+
+  * Upstream version 2023.2.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 24 Aug 2023 13:01:12 +0000
+
+intellij-idea-community (2023.2-1) lunar; urgency=medium
+
+  * Upstream version 2023.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 26 Jul 2023 17:48:37 +0000
+
+intellij-idea-community (2023.1.4-1) lunar; urgency=medium
+
+  * Upstream version 2023.1.4
+
+ -- autoupdate <opensource@mmk2410.org>  Wed, 19 Jul 2023 21:47:07 +0000
+
+intellij-idea-community (2023.1.3-1) lunar; urgency=medium
+
+  * Upstream version 2023.1.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 21 Jun 2023 14:18:46 +0000
+
+intellij-idea-community (2023.1.2-1) lunar; urgency=medium
+
+  * Upstream version 2023.1.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 18 May 2023 11:17:25 +0000
+
+intellij-idea-community (2023.1.1-1) lunar; urgency=medium
+
+  * Upstream version 2023.1.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Tue, 02 May 2023 14:59:15 +0000
+
+intellij-idea-community (2023.1-1) kinetic; urgency=medium
+
+  * Upstream version 2023.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 31 Mar 2023 04:55:05 +0000
+
+intellij-idea-community (2022.3.3-1) kinetic; urgency=medium
+
+  * Upstream version 2022.3.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Mon, 13 Mar 2023 22:14:21 +0000
+
+intellij-idea-community (2022.3.2-1) jammy; urgency=medium
+
+  * Upstream version 2022.3.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Mon, 06 Feb 2023 17:59:49 +0000
+
+intellij-idea-community (2022.3.1-1) jammy; urgency=medium
+
+  * Upstream version 2022.3.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 23 Dec 2022 07:05:41 +0000
+
+intellij-idea-community (2022.3-1) jammy; urgency=medium
+
+  * Upstream version 2022.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Tue, 06 Dec 2022 17:21:55 +0000
+
+intellij-idea-community (2022.2.4-1) jammy; urgency=medium
+
+  * Upstream version 2022.2.4
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 23 Nov 2022 18:54:59 +0000
+
+intellij-idea-community (2022.2.3-1) jammy; urgency=medium
+
+  * Upstream version 2022.2.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 06 Oct 2022 17:32:56 +0000
+
+intellij-idea-community (2022.2.2-1) jammy; urgency=medium
+
+  * Upstream version 2022.2.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 16 Sep 2022 12:33:37 +0000
+
+intellij-idea-community (2022.2.1-1) jammy; urgency=medium
+
+  * Upstream version 2022.2.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 19 Aug 2022 17:42:53 +0000
+
+intellij-idea-community (2022.2-1) jammy; urgency=medium
+
+  * Upstream version 2022.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Mon, 01 Aug 2022 19:36:04 +0000
+
+intellij-idea-community (2022.1.4-1) jammy; urgency=medium
+
+  * Upstream version 2022.1.4
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 20 Jul 2022 13:45:38 +0000
+
+intellij-idea-community (2022.1.3-1) impish; urgency=medium
+
+  * Upstream version 2022.1.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 23 Jun 2022 08:25:24 +0000
+
+intellij-idea-community (2022.1.2-1) impish; urgency=medium
+
+  * Upstream version 2022.1.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 08 Jun 2022 20:20:13 +0000
+
+intellij-idea-community (2022.1.1-1) impish; urgency=medium
+
+  * Upstream version 2022.1.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Sat, 21 May 2022 14:21:31 +0000
+
+intellij-idea-community (2022.1-1) impish; urgency=medium
+
+  * Upstream version 2022.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 15 Apr 2022 09:02:45 +0000
+
+intellij-idea-community (2021.3.3-1) impish; urgency=medium
+
+  * Upstream version 2021.3.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Tue, 22 Mar 2022 19:09:30 +0000
+
+intellij-idea-community (2021.3.2-1) impish; urgency=medium
+
+  * Upstream version 2021.3.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Sat, 29 Jan 2022 11:11:44 +0000
+
+intellij-idea-community (2021.3.1-1) impish; urgency=medium
+
+  * Upstream version 2021.3.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 29 Dec 2021 15:33:20 +0000
+
+intellij-idea-community (2021.3-1) impish; urgency=medium
+
+  * Upstream version 2021.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 02 Dec 2021 17:37:32 +0000
+
+intellij-idea-community (2021.2.3-1) impish; urgency=medium
+
+  * Upstream version 2021.2.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 15 Oct 2021 18:06:03 +0000
+
+intellij-idea-community (2021.2.2-1) hirsute; urgency=medium
+
+  * Upstream version 2021.2.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 22 Sep 2021 19:53:27 +0000
+
+intellij-idea-community (2021.2-1) hirsute; urgency=medium
+
+  * Upstream version 2021.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 28 Jul 2021 05:52:49 +0000
+
+intellij-idea-community (2021.1.3-1) hirsute; urgency=medium
+
+  * Upstream version 2021.1.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 30 Jun 2021 07:32:47 +0000
+
+intellij-idea-community (2021.1.2-1) hirsute; urgency=medium
+
+  * Upstream version 2021.1.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 11 Jun 2021 13:48:22 +0000
+
+intellij-idea-community (2021.1.1-1) groovy; urgency=medium
+
+  * Upstream version 2021.1.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Tue, 04 May 2021 17:04:28 +0000
+
+intellij-idea-community (2021.1-1) groovy; urgency=medium
+
+  * Upstream version 2021.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 07 Apr 2021 18:08:24 +0000
+
+intellij-idea-community (2020.3.3-1) groovy; urgency=medium
+
+  * Upstream version 2020.3.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Tue, 23 Mar 2021 18:34:25 +0000
+
+intellij-idea-community (2020.3.2-1) groovy; urgency=medium
+
+  * Upstream version 2020.3.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 27 Jan 2021 21:02:02 +0000
+
+intellij-idea-community (2020.3.1-1) groovy; urgency=medium
+
+  * Upstream version 2020.3.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 15 Jan 2021 23:01:35 +0000
+
+intellij-idea-community (2020.3-1) groovy; urgency=medium
+
+  * Upstream version 2020.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 02 Dec 2020 14:48:31 +0100
+
+intellij-idea-community (2020.2.4-1) focal; urgency=medium
+
+  * Upstream version 2020.2.4
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 27 Nov 2020 16:00:46 +0100
+
+intellij-idea-community (2020.2.2-1) focal; urgency=medium
+
+  * Upstream version 2020.2.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 17 Sep 2020 13:26:58 +0000
+
+intellij-idea-community (2020.2.1-1) focal; urgency=medium
+
+  * Upstream version 2020.2.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 28 Aug 2020 20:21:05 +0200
+
+intellij-idea-community (2020.2-1) focal; urgency=medium
+
+  * Upstream version 2020.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Tue, 28 Jul 2020 19:43:53 +0200
+
+intellij-idea-community (2020.1.4-1) focal; urgency=medium
+
+  * Upstream version 2020.1.4
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 24 Jul 2020 21:37:15 +0200
+
+intellij-idea-community (2020.1.3-1) focal; urgency=medium
+
+  * Upstream version 2020.1.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 10 Jul 2020 22:52:52 +0200
+
+intellij-idea-community (2020.1.2-1) focal; urgency=medium
+
+  * Upstream version 2020.1.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 26 Jun 2020 18:37:09 +0200
+
+intellij-idea-community (2019.3.4-1) eoan; urgency=medium
+
+  * Upstream version 2019.3.4
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Sun, 29 Mar 2020 12:02:07 +0000
+
+intellij-idea-community (2019.2-1) disco; urgency=medium
+
+  * Upstream version 2019.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 26 Jul 2019 14:57:15 +0000
+
+intellij-idea-community (2019.1.3-1) disco; urgency=medium
+
+  * Upstream version 2019.1.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 29 May 2019 07:17:09 +0000
+
+intellij-idea-community (2019.1.2-1) disco; urgency=medium
+
+  * Upstream version 2019.1.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 16 May 2019 07:13:53 +0000
+
+intellij-idea-community (2019.1.1-1) cosmic; urgency=medium
+
+  * Upstream version 2019.1.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Tue, 23 Apr 2019 15:42:59 +0000
+
+intellij-idea-community (2019.1-1) cosmic; urgency=medium
+
+  * Upstream version 2019.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Sat, 13 Apr 2019 21:59:14 +0000
+
+intellij-idea-community (2018.3.5-1) cosmic; urgency=medium
+
+  * Upstream version 2018.3.5
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 27 Feb 2019 09:47:13 +0000
+
+intellij-idea-community (2018.3.4-1) cosmic; urgency=medium
+
+  * Upstream version 2018.3.4
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Mon, 04 Feb 2019 14:12:58 +0000
+
+intellij-idea-community (2018.3.3-1) cosmic; urgency=medium
+
+  * Upstream version 2018.3.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 11 Jan 2019 16:03:24 +0000
+
+intellij-idea-community (2018.3.2-1) cosmic; urgency=medium
+
+  * Upstream version 2018.3.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 03 Jan 2019 17:25:15 +0000
+
+intellij-idea-community (2018.3.1-1) cosmic; urgency=medium
+
+  * Upstream version 2018.3.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Sun, 09 Dec 2018 22:14:08 +0000
+
+intellij-idea-community (2018.3-1) cosmic; urgency=medium
+
+  * Upstream version 2018.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Sun, 25 Nov 2018 15:30:50 +0000
+
+intellij-idea-community (2018.2.6-1) cosmic; urgency=medium
+
+  * Upstream version 2018.2.6
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Sat, 17 Nov 2018 17:01:03 +0000
+
+intellij-idea-community (2018.2.5-1) bionic; urgency=medium
+
+  * Upstream version 2018.2.5
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Wed, 17 Oct 2018 10:05:18 +0000
+
+intellij-idea-community (2018.2.4-1) bionic; urgency=medium
+
+  * Upstream version 2018.2.4
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Thu, 20 Sep 2018 07:47:20 +0000
+
+intellij-idea-community (2018.2.3-1) bionic; urgency=medium
+
+  * Upstream version 2018.2.3
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Tue, 04 Sep 2018 17:01:14 +0000
+
+intellij-idea-community (2018.2.2-1) bionic; urgency=medium
+
+  * Upstream version 2018.2.2
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Mon, 03 Sep 2018 07:19:21 +0000
+
+intellij-idea-community (2018.1.4-1) bionic; urgency=medium
+
+  * Upstream version 2018.1.4
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Fri, 25 May 2018 23:37:24 +0200
+
+intellij-idea-community (2018.1-1) artful; urgency=medium
+
+  * Upstream version 2018.1
+
+ -- Marcel Kapfer <opensource@mmk2410.org>  Mon, 02 Apr 2018 06:35:50 +0000
+
+intellij-idea-community (2017.3.5-1) artful; urgency=low
+
+  * Upstream Version 2017.3.5
+
+ -- Marcel Kapfer (mmk2410) <opensource@mmk2410.org>  Wed, 14 Mar 2018 12:00:42 +0100
+
+intellij-idea-community (2017.3.4-1) artful; urgency=low
+
+  * Upstream Version 2017.3.4
+
+ -- Marcel Kapfer (mmk2410) <opensource@mmk2410.org>  Wed, 31 Jan 2018 11:05:53 +0000
+
+intellij-idea-community (2017.3.3-1) artful; urgency=low
+
+  * Upstream Version 2017.3.3
+
+ -- Marcel Kapfer (mmk2410) <opensource@mmk2410.org>  Sat, 20 Jan 2018 13:45:21 +0100
+
+intellij-idea-community (2017.3-1) artful; urgency=low
+
+  * Upstream Version 2017.3
+
+ -- Marcel Kapfer (mmk2410) <opensource@mmk2410.org>  Fri, 01 Dec 2017 07:17:15 +0000
+
+intellij-idea-community (2017.2.6-1) artful; urgency=low
+
+  * Upstream Version 2017.2.6
+
+ -- Marcel Kapfer (mmk2410) <opensource@mmk2410.org>  Fri, 17 Nov 2017 05:38:12 +0000
+
+intellij-idea-community (2017.2.5-1) artful; urgency=low
+
+  * Upstream Version 2017.2.5
+
+ -- Marcel Kapfer (mmk2410) <opensource@mmk2410.org>  Thu, 28 Sep 2017 08:49:17 +0200
+
+intellij-idea-community (2017.2.4-1) artful; urgency=low
+
+  * Upstream Version 2017.2.4
+
+ -- Bart de Koning (bratdaking) <bratdaking@gmail.com>  Thu, 14 Sep 2017 13:35:28 +0200
+
+intellij-idea-community (2017.2.3-1) artful; urgency=low
+
+  * Upstream Version 2017.2.3
+
+ -- Bart de Koning (bratdaking) <bratdaking@gmail.com>  Wed, 30 Aug 2017 11:39:30 +0200
+
+intellij-idea-community (2017.1.5-1) yakkety; urgency=low
+
+  * Upstream Version 2017.1.5
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@gmail.com>  Wed, 12 Jul 2017 18:51:50 +0200
+
+intellij-idea-community (2017.1.4-1) zesty; urgency=low
+
+  * Upstream Version 2017.1.4
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@gmail.com>  Thu, 08 Jun 2017 08:59:53 +0200
+
+intellij-idea-community (2017.1.3-1) zesty; urgency=low
+
+  * Upstream Version 2017.1.3
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Sat, 20 May 2017 10:44:29 +0200
+
+intellij-idea-community (2017.1.2-1) zesty; urgency=low
+
+  * Upstream Version 2017.1.2
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@gmail.com>  Sat, 06 May 2017 11:49:03 +0200
+
+intellij-idea-community (2017.1.1-1) zesty; urgency=low
+
+  * Upstream Version 2017.1.1
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@gmail.com>  Fri, 14 Apr 2017 21:50:34 +0100
+
+intellij-idea-community (2017.1-1) yakkety; urgency=low
+
+  * Upstream Version 2017.1
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@gmail.com>  Fri, 24 Mar 2017 14:23:06 +0100
+
+intellij-idea-community (2016.3.4-1) yakkety; urgency=low
+
+  * Upstream Version 2016.3.4
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Thu, 02 Feb 2017 12:12:06 +0100
+
+intellij-idea-community (2016.3.3-1) yakkety; urgency=low
+
+  * Upstream Version 2016.3.3
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Thu, 19 Jan 2017 19:45:39 +0100
+
+intellij-idea-community (2016.3.2-1) yakkety; urgency=low
+
+  * Upstream Version 2016.3.2
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Fri, 30 Dec 2016 23:21:26 +0100
+
+intellij-idea-community (2016.3.1-1) yakkety; urgency=low
+
+  * Upstream Version 2016.3.1
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Tue, 13 Dec 2016 21:13:17 +0100
+
+intellij-idea-community (2016.3-1) yakkety; urgency=low
+
+  * Upstream Version 2016.3
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Thu, 24 Nov 2016 21:21:17 +0100
+
+intellij-idea-community (2016.2.5-1) yakkety; urgency=low
+
+  * Upstream Version 2016.2.5
+
+ -- Andy Balaam (andybalaam) <mail@artificialworlds.net>  Thu, 20 Oct 2016 09:27:23 +0100
+
+intellij-idea-community (2016.2.4-1) yakkety; urgency=low
+
+  * Upstream Version 2016.2.4
+
+ -- Francesco Levorato (flevour) <git@flevour.net>  Thu, 06 Oct 2016 10:34:00 +0200
+
+intellij-idea-community (2016.2.3-1) yakkety; urgency=low
+
+  * Upstream Version 2016.2.3
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Sat, 03 Sep 2016 23:45:30 +0200
+
+intellij-idea-community (2016.2.2-1) yakkety; urgency=low
+
+  * Upstream Version 2016.2.2
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Fri, 19 Aug 2016 20:56:30 +0200
+
+intellij-idea-community (2016.2.1-1) yakkety; urgency=low
+
+  * Upstream Version 2016.2.1
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Mon, 08 Aug 2016 21:21:30 +0200
+
+intellij-idea-community (2016.2.0-1) yakkety; urgency=low
+
+  * Upstream Version 2016.2.0
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Wed, 13 Jul 2016 19:38:30 +0200
+
+intellij-idea-community (2016.1.3-1) xenial; urgency=low
+
+  * Upstream Version 2016.1.3
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Tue, 07 Jun 2016 08:49:30 +0200
+
+intellij-idea-community (2016.1.2-1) xenial; urgency=high
+
+  * Upstream Version 2016.1.2
+
+ -- Marcel Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Wed, 11 May 2016 17:12:30 +0200
+
+intellij-idea-community (2016.1.1-1) wily; urgency=low
+
+  * Upstream Version 2016.1.1
+
+ -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Sun, 03 Apr 2016 20:31:50 +0200
+
+intellij-idea-community (2016.1-1) wily; urgency=low
+
+  * Upstream Version 2016.1
+
+ -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Mon, 21 Mar 2016 17:44:50 +0200
+
+intellij-idea-community (15.0.4-1) wily; urgency=low
+
+  * Upstream Version 15.0.4
+
+ -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Tue, 01 Mar 2016 19:44:50 +0200
+
+intellij-idea-community (15.0.3-1) wily; urgency=low
+
+  * Upstream Version 15.0.3
+
+ -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Wed, 20 Jan 2015 15:01:50 +0100
+
+intellij-idea-community (15.0.2-1) wily; urgency=low
+
+  * Upstream Version 15.0.2
+
+ -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Sun, 13 Dec 2015 13:28:50 +0100
+
+
+intellij-idea-community (15.0.1-1) wily; urgency=low
+
+  * Upstream Version 15.0.1
+
+ -- Bart de Koning <bratdaking@gmail.com>  Tue, 08 Dec 2015 11:42:22 +0100
+
+intellij-idea-community (15.0.0-1) wily; urgency=low
+
+  * Upstream Version 15.0
+
+ -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Fri, 06 Nov 2015 14:35:50 +0100
+
+intellij-idea-community (14.1.4-1) vivid; urgency=low
+
+  * Upstream Version 14.1.4
+
+ -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Sun, 05 Jul 2015 21:15:50 +0200
+
+intellij-idea-community (14.1.3-1) vivid; urgency=low
+
+  * Upstream Vesion 14.1.3
+
+ -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Sun, 17 May 2015 11:23:50 +0200
+
+intellij-idea-community (14.1.2-1) vivid; urgency=low
+
+  * Upstream Vesion 14.1.2
+
+ -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Sun, 26 Apr 2015 10:31:50 +0200
+
+intellij-idea-community (14.1.1-1) vivid; urgency=low
+
+  * Upstream Version 14.1.1
+
+ -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Thur, 02 Apr 2015 12:50:50 +0200
+
+
+intellij-idea-community (1.1-1) vivid; urgency=low
+
+  * Upstream Version 14.1
+
+ -- Marcel Michael Kapfer (mmk2410) <marcelmichaelkapfer@yahoo.co.nz>  Mon, 30 Mar 2015 08:14:50 +0200
+
+intellij-idea-community (1.0-1) utopic; urgency=low
+
+  * Initial release.
+
+ -- Marcel Michael Kapfer <marcelmichaelkapfer@yahoo.co.nz>  Sat, 07 Mar 2015 19:35:50 +0100
diff --git a/intellij-idea-community_2025.1/debian/compat b/intellij-idea-community_2025.1/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/intellij-idea-community_2025.1/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/intellij-idea-community_2025.1/debian/control b/intellij-idea-community_2025.1/debian/control
new file mode 100644
index 0000000..ddb24e5
--- /dev/null
+++ b/intellij-idea-community_2025.1/debian/control
@@ -0,0 +1,18 @@
+Source: intellij-idea-community
+Section: devel
+Priority: optional
+Maintainer: Marcel Kapfer <opensource@mmk2410.org>
+Build-Depends: debhelper (>= 9)
+Standards-Version: 4.2.1
+
+Package: intellij-idea-community
+Architecture: all
+Pre-Depends: wget
+Depends: ${misc:Depends}
+Suggests: git, default-jdk
+Description: IntelliJ IDEA Community Edition
+ Every aspect of IntelliJ IDEA is specifically designed to maximize developer
+ productivity.
+ .
+ Together, the powerful static code analysis and ergonomic design make
+ development not only productive but also an enjoyable experience.
diff --git a/intellij-idea-community_2017.1/debian/copyright b/intellij-idea-community_2025.1/debian/copyright
similarity index 92%
rename from intellij-idea-community_2017.1/debian/copyright
rename to intellij-idea-community_2025.1/debian/copyright
index f0539cd..49bd651 100644
--- a/intellij-idea-community_2017.1/debian/copyright
+++ b/intellij-idea-community_2025.1/debian/copyright
@@ -1,13 +1,13 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: intellij-idea-community
-Source: https://github.com/mmk2410/intellij-idea-community
+Source: https://gitlab.com/mmk2410/intellij-idea-community
 
 Files: *
 Copyright: JetBrains s.r.o.
 License: Apache-2
 
 Files: debian/*
-Copyright: 2015 Marcel Michael Kapfer <marcelmichaelkapfer@yahoo.co.nz>
+Copyright: 2015-2017 Marcel Kapfer <opensource@mmk2410.org> and contributors
 License: GPL-3+
 
 License: Apache-2
diff --git a/intellij-idea-community_2025.1/debian/debhelper-build-stamp b/intellij-idea-community_2025.1/debian/debhelper-build-stamp
new file mode 100644
index 0000000..f80740a
--- /dev/null
+++ b/intellij-idea-community_2025.1/debian/debhelper-build-stamp
@@ -0,0 +1 @@
+intellij-idea-community
diff --git a/intellij-idea-community_2017.1/debian/install b/intellij-idea-community_2025.1/debian/install
similarity index 100%
rename from intellij-idea-community_2017.1/debian/install
rename to intellij-idea-community_2025.1/debian/install
index c4e7aba..b8ee393 100644
--- a/intellij-idea-community_2017.1/debian/install
+++ b/intellij-idea-community_2025.1/debian/install
@@ -1,3 +1,3 @@
-intellij-idea-community.desktop /usr/share/applications/
 intellij-idea-ce.png /usr/share/icons/
 intellij-idea-community /usr/bin/
+intellij-idea-community.desktop /usr/share/applications/
diff --git a/intellij-idea-community_2025.1/debian/postinst b/intellij-idea-community_2025.1/debian/postinst
new file mode 100644
index 0000000..5627698
--- /dev/null
+++ b/intellij-idea-community_2025.1/debian/postinst
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+set -e
+
+cd /opt/
+
+## Extract the package
+tar xf /opt/ideaIC-2025.1.tar.gz
+
+## Rename the directory
+mv /opt/idea-IC-* /opt/intellij-idea-community
+
+## Remove  the tar.gz package
+rm /opt/ideaIC-2025.1.tar.gz
+
+## Install the .desktop file, if necessary
+if [ -x "/usr/bin/desktop-file-install" ]; then
+    desktop-file-install /usr/share/applications/intellij-idea-community.desktop
+fi
+
+##DEBHELPER##
diff --git a/intellij-idea-community_2017.1/debian/postrm b/intellij-idea-community_2025.1/debian/postrm
similarity index 61%
rename from intellij-idea-community_2017.1/debian/postrm
rename to intellij-idea-community_2025.1/debian/postrm
index dd6e2c4..f84214e 100644
--- a/intellij-idea-community_2017.1/debian/postrm
+++ b/intellij-idea-community_2025.1/debian/postrm
@@ -3,6 +3,6 @@
 set -e
 
 ## Remove the program folder
-sudo rm -rf /opt/intellij-idea-community
+rm -rf /opt/intellij-idea-community
 
 ##DEBHELPER##
diff --git a/intellij-idea-community_2025.1/debian/preinst b/intellij-idea-community_2025.1/debian/preinst
new file mode 100644
index 0000000..984853a
--- /dev/null
+++ b/intellij-idea-community_2025.1/debian/preinst
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+set -e
+
+cd /opt/
+
+## Download IntelliJ IDEA Community from the JetBrain servers
+wget -c https://download-cf.jetbrains.com/idea/ideaIC-2025.1.tar.gz
+
+##DEBHELPER##
diff --git a/intellij-idea-community_2017.1/debian/rules b/intellij-idea-community_2025.1/debian/rules
similarity index 100%
rename from intellij-idea-community_2017.1/debian/rules
rename to intellij-idea-community_2025.1/debian/rules
diff --git a/intellij-idea-community_2017.1/debian/source/format b/intellij-idea-community_2025.1/debian/source/format
similarity index 100%
rename from intellij-idea-community_2017.1/debian/source/format
rename to intellij-idea-community_2025.1/debian/source/format
diff --git a/intellij-idea-community_2017.1/debian/source/include-binaries b/intellij-idea-community_2025.1/debian/source/include-binaries
similarity index 100%
rename from intellij-idea-community_2017.1/debian/source/include-binaries
rename to intellij-idea-community_2025.1/debian/source/include-binaries
diff --git a/intellij-idea-community_2025.1/debian/watch b/intellij-idea-community_2025.1/debian/watch
new file mode 100644
index 0000000..c1a26fd
--- /dev/null
+++ b/intellij-idea-community_2025.1/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="searchmode=plain" \
+https://data.services.jetbrains.com/products/releases?code=IIC&latest=true&type=release \
+https://download.jetbrains.com/idea/ideaIC-(\d[\d\.]*).tar.gz
diff --git a/intellij-idea-community_2025.1/intellij-idea-ce.png b/intellij-idea-community_2025.1/intellij-idea-ce.png
new file mode 100644
index 0000000..60f837c
Binary files /dev/null and b/intellij-idea-community_2025.1/intellij-idea-ce.png differ
diff --git a/intellij-idea-community_2025.1/intellij-idea-community b/intellij-idea-community_2025.1/intellij-idea-community
new file mode 100755
index 0000000..79e82ea
--- /dev/null
+++ b/intellij-idea-community_2025.1/intellij-idea-community
@@ -0,0 +1,3 @@
+#!/bin/sh
+export IDEA_JDK=$JAVA_HOME
+exec /opt/intellij-idea-community/bin/idea "$@"
diff --git a/intellij-idea-community_2017.1/intellij-idea-community.desktop b/intellij-idea-community_2025.1/intellij-idea-community.desktop
similarity index 72%
rename from intellij-idea-community_2017.1/intellij-idea-community.desktop
rename to intellij-idea-community_2025.1/intellij-idea-community.desktop
index e96814a..675b0bf 100644
--- a/intellij-idea-community_2017.1/intellij-idea-community.desktop
+++ b/intellij-idea-community_2025.1/intellij-idea-community.desktop
@@ -6,4 +6,5 @@ Icon=intellij-idea-ce
 Terminal=false
 Type=Application
 Categories=Development;IDE;Java;
-StartupWMClass=jetbrains-idea
+Keywords=intellij;idea;community;java;ide
+StartupWMClass=jetbrains-idea-ce
diff --git a/update-new-version.sh b/update-new-version.sh
index 405d9a4..015dbde 100755
--- a/update-new-version.sh
+++ b/update-new-version.sh
@@ -1,37 +1,44 @@
-#!/bin/bash
-function main {
-    local old=$1
-    local new=$2
-    local now=`date -R`
-    local author=`git config --get user.name`
-    local email=`git config --get user.email`
-    local username=`git config --get remote.origin.url | sed 's,.*:\(.*\)/.*,\1,'`
-    local tempfile=`tempfile`
+#!/usr/bin/env bash
+#
+# This script intends to decrease the effort of updating the package.
 
-    git checkout -b version-$new
+set -euo pipefail
 
-    mv intellij-idea-community_{$old,$new}
-    mv intellij-idea-community_{$old,$new}.orig.tar.gz
+# Check if running Ubuntu
+grep -q Ubuntu /etc/issue
+if [[ $? != 0 ]]; then
+    echo "System is not running Ubuntu. Cancelling build."
+    exit 1
+fi
 
-    echo "intellij-idea-community ($new-1) yakkety; urgency=low
+PACKAGE="intellij-idea-community"
+DISTRIBUTION="oracular"
 
-  * Upstream Version $new
+last_tag=$(git describe --abbrev=0 --tags)
+old="${last_tag#?}"
+new="$1"
 
- -- $author ($username) <$email> $now
- " >> $tempfile
+name="$(git config --get user.name)"
+email="$(git config --get user.email)"
 
-    cat intellij-idea-community_$new/debian/changelog >> $tempfile
-    mv $tempfile intellij-idea-community_$new/debian/changelog
+git checkout -b version-"$new"
 
-    sed -i "s/$old/$new/g" intellij-idea-community_$new/debian/preinst
+mv "$PACKAGE"_"$old" "$PACKAGE"_"$new"
+mv "$PACKAGE"_"$old".orig.tar.gz "$PACKAGE"_"$new".orig.tar.gz
 
-    (cd intellij-idea-community_$new/ && debuild -us -uc )
+cd "$PACKAGE"_"$new" || exit
 
-    rm intellij-idea-community_${old}*
+# Update the debian/changelog file with dch
+NAME="$name" EMAIL="$email" dch \
+    --newversion "$new"-1 \
+    --distribution "$DISTRIBUTION" \
+    "Upstream version $new"
 
-    sudo dpkg -i intellij-idea-community_$new-1_all.deb
-}
+sed -i "s/$old/$new/g" ./debian/preinst
+sed -i "s/$old/$new/g" ./debian/postinst
 
+debuild -us -uc
 
+cd ..
 
-main $1 $2
+rm "$PACKAGE"_"$old"-*