Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

katawa-shoujo_1/PKGBUILD

By: KaiSforza on Apr 24th, 2012  |  syntax: None  |  size: 1.76 KB  |  views: 117  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Anton Larionov <diffident dot cat at gmail dot com>
  2. # Minor edits by KaiSforza FOR PRE-DOWNLOADED FILE ONLY
  3.  
  4.  
  5. pkgname=katawa-shoujo
  6. pkgver=1.0
  7. pkgrel=6
  8. pkgdesc="Bishoujo-style visual novel game that tells a story of a young man and five other girls suffering with varying disabilities"
  9. arch=('x86_64')
  10. url='http://katawa-shoujo.com/'
  11. license=('CCPL:by-nc-nd' 'MIT')
  12.  
  13. depends=("lib32-libpulse")
  14.  
  15. install="${pkgname}.install"
  16.  
  17. source=("[4ls]_katawa_shoujo_[linux-x86][EA1DFB30].tar.bz2"
  18.         "${pkgname}.sh"
  19.         "${pkgname}.desktop"
  20.         "${pkgname}.png")
  21.  
  22. md5sums=('fc4a4496e9ed44494f74ca55648b0531'
  23.          'ef94322df8f68b28fb72e858cf5da9da'
  24.          '52da5f2a8365a9b88d65fad1301e439b'
  25.          '1584e91ffa16e4a83db1eeae5fdd7bbc')
  26.  
  27.  
  28. build() {
  29.   # Extract User Downloaded katawa-shoujo package
  30.   tar xfj [4ls]_katawa_shoujo_[linux-x86][EA1DFB30].tar.bz2
  31.  
  32.   # copy main files
  33.   cd "${srcdir}/Katawa Shoujo-linux-x86/"
  34.   install -dm755 "${pkgdir}/usr/share/${pkgname}"
  35.   cp -r common game lib renpy "${pkgdir}/usr/share/${pkgname}"
  36.   install -m644 'Katawa Shoujo.py' "${pkgdir}/usr/share/${pkgname}"
  37.   install -m755 'Katawa Shoujo.sh' "${pkgdir}/usr/share/${pkgname}"
  38.  
  39.   # copy game manual
  40.   install -D -m644 'Game Manual.pdf' "${pkgdir}/usr/share/doc/${pkgname}/gamemanual.pdf"
  41.  
  42.   # copy license
  43.   install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  44.  
  45.   # copy bash script
  46.   install -D -m755 "${srcdir}/katawa-shoujo.sh" "${pkgdir}/usr/bin/${pkgname}"
  47.  
  48.   # install desktop entry file
  49.   install -D -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  50.   install -D -m644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
  51. }
  52.  
  53. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data