Skip to content

Commit

Permalink
PKGBUILD makefile rule
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.code.sf.net/p/instead/code/trunk@863 2984d56d-8eb5-48f3-9f87-270ec957a5b2
  • Loading branch information
Peter Kosyh committed Jun 6, 2010
1 parent c10cdf2 commit 4dd4e73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ docs: rules
make pdf -C doc/
make wiki -C doc/
man doc/instead.6 > doc/instead.txt

PKGBUILD: PKGBUILD.in tarball
cat PKGBUILD.in | sed -e s/MD5SUM/`md5sum $(ARCHIVE) | cut -f1 -d' '`/g > PKGBUILD

tarball: clean svnclean docs rules
echo "# you can define own flags here" > config.make
Expand Down
2 changes: 1 addition & 1 deletion PKGBUILD → PKGBUILD.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ depends=('sdl' 'sdl_image' 'sdl_mixer' 'sdl_ttf' 'lua')
makedepends=( 'pkgconfig' )

source=(http://instead.googlecode.com/files/instead_$pkgver.tar.gz)
md5sums=(e917080c1627f6e72b0f750fc485e49c)
md5sums=(MD5SUM)
optdepends=('instead-launcher: install and update INSTEAD games from net')

build() {
Expand Down

0 comments on commit 4dd4e73

Please sign in to comment.