1 # Maintainer: Wido <widomaker2k7 [at] gmail [dot] com>
6 pkgdesc="Rimshot was designed from ground up with a simple and intuitive interface in mind to allow the creation of any kinds of drumbeats."
8 url="http://stabyourself.net/rimshot/"
12 source=(${pkgname}.sh ${pkgname}.desktop)
13 _gamepkg="${pkgname}-linux.zip"
15 md5sums=('8d11bcdc59af2a0c07f429b36c72c248'
16 '629fddc533c6c5f33532a4e289271206')
20 msg "You need a full copy of this game in order to install it"
21 msg "Searching for \"${_gamepkg}\" in dir: $(readlink -f `pwd`/..)"
23 if [[ ! -f "$startdir/${_gamepkg}" ]]; then
24 error "Game package not found, please type absolute path to ${_gamepkg} (/home/joe):"
26 if [[ ! -f "${pkgpath}/${_gamepkg}" ]]; then
27 error "Unable to find game package." && return 1
30 msg "Found game package, installing..."
32 ln -fs ${pkgpath}/${_gamepkg} . || return 1
33 unzip ${srcdir}/${_gamepkg} -d $srcdir/${pkgname} || return 1
40 install -D -m755 "${srcdir}/${pkgname}/Rimshot.love" "${pkgdir}/usr/share/games/${pkgname}/${pkgname}.love"
41 install -D -m644 "${srcdir}/${pkgname}/Readshot.txt" "$pkgdir/usr/share/games/${pkgname}/readme"
44 install -D -m755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
47 install -D -m644 "${srcdir}/${pkgname}.desktop" \
48 "${pkgdir}/usr/share/applications/${pkgname}.desktop"
51 # vim:set ts=2 sw=2 et: