summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 17ed06855aa9a1371ec3d3ac3fe7da5d8155ffb6 (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
# Maintainer: The Bearodactyl <dabewodactowluwu@gmail.com>

pkgname=omocep-lite-flatpak
pkgver=3.9.1
pkgrel=1
pkgdesc="Installs OneLoader and OMOCEP Lite - The OMORI Community Enhancement Pack. This only works if steam is installed via flatpak"
arch=('x86_64')
url="https://omo.cep.one/"
license=('unknown')
depends=("unzip" "flatpak")
conflicts=("omocep-lite")
source=("$pkgname-$pkgver.zip"::"https://mods.one/dl/c363f38d-f50b-4e31-af3a-7dbbcd657863" 
        "https://github.com/rphsoftware/OneLoader/releases/download/v1.4/OneLoader-1.4.zip")
sha256sums=('dfac5df7bfa3567e37223a2a15401ee20d2bf8b7a766fbe0629541ae155c103f'
    'c1bc4f3831d69265d29f443d9f7c1ec24f428860b87a0de817784bad45e6a712')

prepare() {
  unzip "OneLoader-1.4.zip" -d OneLoader
  unzip "$pkgname-$pkgver.zip" -d OMOCEP-lite
}

package() {
  cp -r OneLoader/www/* "$HOME/.var/app/com.valvesoftware.Steam/data/Steam/steamapps/common/OMORI/www"
  cp -fr OMOCEP-lite/www/* "$HOME/.var/app/com.valvesoftware.Steam/data/Steam/steamapps/common/OMORI/www"
}