summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 274bcca8b23d035b3a612ece7bfecb17994f4870 (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
# Maintainer: NatureCat <therealnatcat@pm.me>
# Contributor:kompowiec2 <diasp@o2.pl>
pkgname=ai-horde-worker-regen-git
pkgver=10.0.2
pkgrel=2
pkgdesc="generating images and text using your GPU and earning kudos."
arch=('x86_64')
url="https://github.com/Haidra-Org/horde-worker-reGen"
license=('AGPLv3')
depends=('python' 'python-pip' 'git' 'jemalloc')
makedepends=('git' 'python-virtualenv')
source=("git+https://github.com/Haidra-Org/horde-worker-reGen.git")
sha256sums=('SKIP')

build() {
    cd "$srcdir/horde-worker-reGen" || exit
    $srcdir/horde-worker-reGen/update-runtime.sh
}

package() {
    cd "$srcdir/horde-worker-reGen" || exit
    install -d "$pkgdir/usr/share/$pkgname"
    cp -r . "$pkgdir/usr/share/$pkgname"
    install -Dm755 "$srcdir/horde-worker-reGen/horde-bridge.sh" "$pkgdir/usr/bin/ai-horde-worker-regen"
}

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