diff options
Diffstat (limited to 'community-staging/caph')
-rw-r--r-- | community-staging/caph/PKGBUILD | 36 | ||||
-rw-r--r-- | community-staging/caph/caph.desktop | 7 |
2 files changed, 43 insertions, 0 deletions
diff --git a/community-staging/caph/PKGBUILD b/community-staging/caph/PKGBUILD new file mode 100644 index 000000000..3ba543785 --- /dev/null +++ b/community-staging/caph/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 62387 2012-01-19 18:48:33Z svenstaro $ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: jose <jose1711 [at] gmail (dot) com> + +pkgname=caph +arch=('i686' 'x86_64') +pkgver=1.1 +pkgrel=2 +pkgdesc="A sandbox game based on physics which uses doodles as a primary gameplay element" +license=('GPL') +url="http://sourceforge.net/projects/caphgame/" +depends=('sdl' 'libgl' 'libpng') +makedepends=('mesa') +source=("http://sourceforge.net/projects/caphgame/files/caph/caphgame-${pkgver}/caph-${pkgver}.tar.bz2" + "caph.desktop") +md5sums=('dbc2cfbb5cd98a77c5b731515d3a77b9' + '79c6448995026f77fd912dd109b50287') + +build() { + cd $srcdir/caph-${pkgver}/src + mkdir -p $pkgdir/usr/{bin,share/{caph/maps,doc/caph}} + ./confg + ./build +} + +package() { + cd $srcdir/caph-${pkgver}/src + install -D -m755 ./caph $pkgdir/usr/bin/caph + install -D -m644 ../doc/caph/* $pkgdir/usr/share/doc/caph/ || true + install -D -m644 ../share/caph/* $pkgdir/usr/share/caph/ || true + install -D -m644 ../share/caph/maps/* $pkgdir/usr/share/caph/maps || true + install -D -m644 $srcdir/caph.desktop $pkgdir/usr/share/applications/caph.desktop + install -D -m644 ../share/caph/brush.png $pkgdir/usr/share/pixmaps/caph.png +} + +# vim: sw=2:ts=2 et: diff --git a/community-staging/caph/caph.desktop b/community-staging/caph/caph.desktop new file mode 100644 index 000000000..6cc6c711c --- /dev/null +++ b/community-staging/caph/caph.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=Caph +Comment=Sandbox game based on physics +Exec=caph +Icon=caph.png +Categories=Game;LogicGame; |