Skip to content

Commit

Permalink
Adding codeblocks-precise
Browse files Browse the repository at this point in the history
  • Loading branch information
fusion809 committed Nov 16, 2016
1 parent 0a58c40 commit 73d71e2
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,4 @@ recipes/meta/gimp/gimp
recipes/gimp/GIMP
recipes/meta/electron/electron
recipes/meta/geany-trusty/Geany
recipes/meta/codeblocks-precise/CodeBlocks
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- docker

env:
- RECIPE=geany-trusty
- RECIPE=codeblocks-precise

script:
- bash -e travis.sh $RECIPE
Expand Down
1 change: 1 addition & 0 deletions recipes/meta/codeblocks-precise/Recipe
19 changes: 19 additions & 0 deletions recipes/meta/codeblocks-precise/codeblocks-precise.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
app: CodeBlocks
binpatch: true

ingredients:
package: codeblocks
dist: precise
sources:
- deb http://archive.ubuntu.com/ubuntu/ precise main universe
ppas:
- damien-moore/codeblocks-stable

script:
- cat > AppRun <<\EOF
- #!/bin/bash
- HERE="$(dirname "$(readlink -f "${0}")")"
- export LD_LIBRARY_PATH=${HERE}/usr/lib:${HERE}/usr/lib/x86_64-linux-gnu/:${HERE}/usr/lib/codeblocks:${HERE}/lib:${HERE}/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH
- cd "${HERE}/usr"
- CODEBLOCKS_DATA_DIR="${HERE}/usr" "${HERE}/usr/bin/codeblocks.wrapper" "$@"
- EOF

0 comments on commit 73d71e2

Please sign in to comment.