updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / katawa-shoujo / PKGBUILD
blobb58b3290c7b1909903948b7647b8c4906965ca10
1 # Maintainer: Anton Larionov <diffident dot cat at gmail dot com>
3 pkgname=katawa-shoujo
4 pkgver=1.0
5 pkgrel=2
6 pkgdesc="Bishoujo-style visual novel game that tells a story of a young man and five other girls suffering with varying disabilities"
7 arch=('any')
8 url="http://katawa-shoujo.com/"
9 license=('cc-by-nc-nd-3.0' 'MIT')
10 install="${pkgname}.install"
11 source=('http://dl.katawa-shoujo.com/gold/mirrors/[4ls]_katawa_shoujo_[linux-x86][EA1DFB30].tar.bz2'
12         'katawa-shoujo.sh')
13 md5sums=('fc4a4496e9ed44494f74ca55648b0531'
14          'ef94322df8f68b28fb72e858cf5da9da')
16 build() {
17   # copy main files
18   cd "$srcdir/Katawa Shoujo-linux-x86/"
19   install -dm755 "${pkgdir}/usr/share/${pkgname}"
20   cp -r common game lib renpy "${pkgdir}/usr/share/${pkgname}"
21   install -m644 "Katawa Shoujo.py" "${pkgdir}/usr/share/${pkgname}"
22   install -m755 "Katawa Shoujo.sh" "${pkgdir}/usr/share/${pkgname}"
24   # copy game manual
25   install -D -m644 'Game Manual.pdf' "${pkgdir}/usr/share/doc/${pkgname}/gamemanual.pdf"
27   # copy license
28   install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
30   # copy bash script
31   install -D -m755 "${srcdir}/katawa-shoujo.sh" "${pkgdir}/usr/bin/${pkgname}"
34 # vim:set ts=2 sw=2 et: