This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

katawa-shoujo_2/PKGBUILD

By: KaiSforza on Apr 24th, 2012  |  syntax: None  |  size: 1.71 KB  |  views: 72  |  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 DOWNLOADING FILE ONLY (recommended)
  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=("http://naodesu.org/files/katawa-shoujo/%5b4ls%5d_katawa_shoujo_%5blinux-x86%5d%5bEA1DFB30%5d.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.   # copy main files
  30.   cd "${srcdir}/Katawa Shoujo-linux-x86/"
  31.   install -dm755 "${pkgdir}/usr/share/${pkgname}"
  32.   cp -r common game lib renpy "${pkgdir}/usr/share/${pkgname}"
  33.   install -m644 'Katawa Shoujo.py' "${pkgdir}/usr/share/${pkgname}"
  34.   install -m755 'Katawa Shoujo.sh' "${pkgdir}/usr/share/${pkgname}"
  35.  
  36.   # copy game manual
  37.   install -D -m644 'Game Manual.pdf' "${pkgdir}/usr/share/doc/${pkgname}/gamemanual.pdf"
  38.  
  39.   # copy license
  40.   install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  41.  
  42.   # copy bash script
  43.   install -D -m755 "${srcdir}/katawa-shoujo.sh" "${pkgdir}/usr/bin/${pkgname}"
  44.  
  45.   # install desktop entry file
  46.   install -D -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  47.   install -D -m644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
  48. }
  49.  
  50. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data