updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / narcissu / PKGBUILD
blobfe41d675990ee831b841325970ffe43f4e404ce4
1 # Maintainer: Anton Larionov <diffident dot cat at gmail dot com>
3 pkgname=narcissu
4 pkgver=1.0
5 pkgrel=1
6 pkgdesc="Free japanese visual novel game, telling the story of a terminally ill young man and woman"
7 arch=('any')
8 url="http://stage-nana.sakura.ne.jp/"
9 license=('custom:freeware')
10 depends=('onscripter-en' 'sh')
12 source=('http://narcissu.gwathyr.net/NarcissuJP.tar.bz2'
13         'narcissu.sh'
14         'narcissu.desktop'
15         'narcissu.xpm')
17 md5sums=('d4a98be6ed64f953c1dfd9542a681e4f'
18          '76680afa1e186cc83ad96e8c79ad46fa'
19          '61b342288ea713873c6ca13984971eae'
20          '7582c1e98624d8c76b23c535d34b1705')
22 build() {
24   # copy main files and documentation
26   install -dm755 "${pkgdir}/usr/share/${pkgname}"
27   install -dm755 "${pkgdir}/usr/share/doc/${pkgname}"
29   cd "${srcdir}/narcissuwebban/"
30   install -m644 arc.nsa default.ttf nscript.dat "${pkgdir}/usr/share/${pkgname}"
31   install -m644 hajimeni.txt "${pkgdir}/usr/share/doc/${pkgname}"
33   # install desktop entry files and bash script
35   install -D -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
36   install -D -m644 "${srcdir}/${pkgname}.xpm" "${pkgdir}/usr/share/pixmaps/${pkgname}.xpm"
37   install -D -m755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
40 # vim:set ts=2 sw=2 et: