| 13 | |
| 14 | === Build package from tarball === |
| 15 | |
| 16 | {{{ |
| 17 | ### Based on notes by Ivan Mincik |
| 18 | ### http://lists.osgeo.org/pipermail/grass-dev/2015-January/073444.html |
| 19 | |
| 20 | # 1. Download latest existing version of package from Launchpad |
| 21 | dget https://launchpad.net/~grass/+archive/ubuntu/grass-stable/+files/grass70_7.0.0RC1-3%7Eubuntu12.04.1.dsc |
| 22 | |
| 23 | # 2. Prepare working directory with git enabled |
| 24 | mkdir pkg-grass |
| 25 | cd pkg-grass |
| 26 | git init |
| 27 | |
| 28 | # 3. Import downloaded version of package from Launchpad |
| 29 | git-import-dsc ../grass70_7.0.0RC1-3%7Eubuntu12.04.1.dsc |
| 30 | |
| 31 | # 4. Import new tarball we want to build |
| 32 | git-import-orig ../grass-7.0.0RC2.tar.gz |
| 33 | |
| 34 | # 5. Optionally, merge Debian packaging (content of debian direcory: |
| 35 | # lp:~grass/grass/grass70_release_debian) here: |
| 36 | |
| 37 | # Update Debian changelog |
| 38 | dch -i |
| 39 | git diff |
| 40 | }}} |