# The old pkgbuild was architecture-dependent (only worked on i686 or x86_64. This has been re-written to check for the hosts architecture and use that in deciding the dependencies. If there are issues, please email me at 1007380@gmail.com.

pkgname=katawa-shoujo

pkgver=1.0

pkgrel=7

conflicts=('katawa-shoujo')

pkgdesc="Bishoujo-style visual novel game that tells a story of a young man and five other girls suffering with varying disabilities"

case$CARCH in

i686) depends=('python');;

x86_64)depends=('lib32-zlib''python');;

esac

case$CARCH in

i686) optdepends=("pulseaudio: for audio support");;

x86_64) optdepends=('lib32-alsa-plugins'

'lib32-libpulse');;

esac

arch=('i686''x86_64')

url='http://katawa-shoujo.com/'

license=('CCPL:by-nc-nd''MIT')

install="${pkgname}.install"

###################################################################

# Note to users:

# If you don't want to use the third-party download site provided,

# read on. Otherwise, you're good and don't worry about this next bit.