summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3106f71cae5a6977a4f586dee1fdadee54cf27b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Based on original katawa-shoujo PKGBUILD (but use native renpy instead of bundled one) written by Cravix < dr dot neemous at gmail dot com >
# Maintainer: seigneurfuo < seigneurfuo at protonmail dot com >

pkgname=meiji-wa-yuri
pkgver=1.0
pkgrel=2
pkgdesc="A french visual novel by the Ezo2 community built with Renpy"
arch=('any')
url='https://vn.ezo2.eu/meiji_wa_yuri/'
license=('CCPL:by-nc-sa')
depends=(renpy)
source=("meiji-wa-yuri.zip::https://github.com/shobu13/Meiji/archive/master.zip"
"LICENSE.txt::https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.txt"
        "${pkgname}"
        "${pkgname}.desktop"
        "${pkgname}.png")

md5sums=('e7b420a9a510231a9aae1a79eb2f7d36'
         '071086fd72dc543a4a680a747874bd16'
         'a2b57af23e353d9e0e4ba0662e7a5354'
         'c5092a15acf7c42ab338e5923d61c9c8'
         '2f21b1a2f86de673a98f54f1e601a7f5')

package() {
  echo ""
  # copy main files
  cd "${srcdir}/Meiji-master/"
  install -dm755 "${pkgdir}/usr/share/${pkgname}"
  cp -r game "${pkgdir}/usr/share/${pkgname}"
  
  # copy license
  install -D -m644 "${srcdir}/LICENSE.txt" "${srcdir}/usr/share/licenses/${pkgname}/LICENSE"

  # copy bash script
  install -D -m755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"

  # install desktop entry file
  install -D -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  install -D -m644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
}

# vim:set ts=2 sw=2 et: