Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: hauzer <alokinpwn@gmail.com>
- pkgname=AndYetItMoves
- pkgver=1.2.0
- pkgrel=1
- pkgdesc="Rotate the world around you and take advantage of the environment to reach the goal."
- arch=('i686')
- url="http://www.andyetitmoves.net/"
- license=('GPLv2')
- source=("${pkgname}-${pkgver}_i386.tar.gz")
- md5sums=('5f8b1560eb09fba5fb9718d30eaecccf')
- package() {
- cat > andyetitmoves <<EOF
- #!/bin/bash
- /opt/${pkgname}/${pkgname}
- EOF
- cat > ${pkgname}.desktop <<EOF
- [Desktop Entry]
- Type=Application
- Version=1.0
- Name=And Yet It Moves
- Icon=/opt/${pkgname}/icons/32x32.png
- Exec=andyetitmoves
- Terminal=false
- Categories=Game;
- EOF
- install -D -m 755 "${srcdir}/andyetitmoves" "${pkgdir}/usr/bin/andyetitmoves"
- install -D -m 644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- mkdir -p "${pkgdir}/opt/"
- cp -R "${srcdir}/${pkgname}" "${pkgdir}/opt/"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement