Skip to content

Commit

Permalink
Merge pull request #11 from Slashbunny/master
Browse files Browse the repository at this point in the history
Update to 8.0.2, Add Info to README
  • Loading branch information
langemeijer committed Feb 11, 2015
2 parents 167a604 + 73771f9 commit 45002eb
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 10 deletions.
59 changes: 49 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,57 @@
phpstorm-deb
============
=============

Skeleton to easily create a .deb package for phpstorm
Build scripts to easily create a `.deb` package for PhpStorm.


How to create new phpstorm debian package based on this project
===============================================================
Dependencies
------------

* Download the .tar.gz file from this webpage http://www.jetbrains.com/phpstorm/download/index.html
* Move the file into the directory where this file is in.
You will need the `devscripts` package installed in order to build the PhpStorm `.deb` file:

* See if version number the top entry in file debian/changelog is the same as the version you've downloaded. If it's not, execute
dch -v <new-version-number> -m "New upstream version"
```sh
apt-get install devscripts
```

* Build the package with this command:
debuild -us -uc -b

Building
--------

* Download the `.tar.gz` file from [PhpStorm's download page](https://www.jetbrains.com/phpstorm/download/index.html) and place it in the root directory of this repo.

* Build the package with the following command:

```sh
debuild -us -uc -b
```


Installing
----------

Install the package with the `dpkg` command:

```sh
dpkg -i PhpStorm...
```

Alternatively, you can [create your own repo](https://wiki.debian.org/DebianRepository/HowTo/TrivialRepository) to host your custom `deb` packages.


New PhpStorm Versions
---------------------

If the latest version of PhpStorm is newer than the version listed in `debian/changelog`, you'll need to run the following command command to update the file:

```sh
dch -v <new-version-number> -m "New upstream version"
```

For example, if the latest version is 9.10.3, run the following:

```sh
dch -v 9.10.3-1 -m "New upstream version"
```

You can then commit the change to `debian/changelog` and submit a pull request.

6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
phpstorm (8.0.2-1) precise; urgency=low

* New upstream version

-- Casper Langemeijer <[email protected]> Tue, 10 Feb 2015 10:06:06 -0500

phpstorm (8.0.1-1) trusty; urgency=medium

* New upstream version
Expand Down

0 comments on commit 45002eb

Please sign in to comment.