Welcome! Here you can paste sources and general debugging text, You can even set yourself a password if you want to keep it just for yourself.

Posted by snake_pygame PKG on September Sat 28th 2:34 PM - Never Expires
View followups from sally, kBYxGBuVVCKnr, dqNGrfWOUZbquTFb, tbuektgCuHnSzMmO and eOlpiuyphfQDUjEa | Download | New paste

  1. # Maintainer: Andrea De Angelis (Dea1993) - andrea.deangelis93@gmail.com
  2.  
  3. pkgname=snake_pygame
  4. pkgver=0.6
  5. pkgrel=1
  6. pkgdesc="A simple Snake game written in Python"
  7. arch=('i686' 'x86_64')
  8. url="http://deasproject.altervista.org"
  9. license=('GPL-2')
  10. depends=('python2' 'python2-pygame' 'python2-numpy')
  11. source=("snake_${pkgver}.tar.gz"::"http://sourceforge.net/projects/snakepygame/files/snake_${pkgver}.tar.gz/download")
  12. md5sums=('5c16f0899395f5bba7cef34770477eeb')
  13.  
  14. prepare() {
  15.   cd "${srcdir}/snake_${pkgver}"
  16.   # Fix the start_snake-archlinux.sh script
  17.   sed -i '3d' start_snake-archlinux.sh
  18.   sed -i "2icd /usr/share/${pkgname}" start_snake-archlinux.sh
  19. }
  20.  
  21. package() {
  22.   cd "${srcdir}/snake_${pkgver}"
  23.  
  24.   install -m 755 -d "${pkgdir}/usr/share/${pkgname}"
  25.   install -m 755 -t "${pkgdir}/usr/share/${pkgname}" "snake_${pkgver}.py"
  26.  
  27.   install -m 755 -d "${pkgdir}/usr/share/${pkgname}/Sound"
  28.   install -m 644 -t "${pkgdir}/usr/share/${pkgname}/Sound" Sound/*
  29.  
  30.   install -m 755 -d "${pkgdir}/usr/share/${pkgname}/Record"
  31.   install -m 644 -t "${pkgdir}/usr/share/${pkgname}/Record" Record/*
  32.  
  33.   install -m 755 -d "${pkgdir}/usr/share/${pkgname}/Immagini"
  34.   install -m 644 -t "${pkgdir}/usr/share/${pkgname}/Immagini" Immagini/*
  35.  
  36.   install -m 755 -d "${pkgdir}/usr/bin"
  37.   install -m 755 "start_snake-archlinux.sh" "${pkgdir}/usr/bin/snake_game"
  38. }
Language:
To highlight particular lines, prefix each line with @@





© 2017 - Powered by PASTE 1.0