summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a4407b3f498fbdce81245f6cafc63490ce15307 (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
# Maintainer: Xaryphon <xaryphon at tuta dot io>
pkgname=protonhax
pkgver=1.0.1
pkgrel=1
pkgdesc="Program to help executing outside programs in proton"
arch=('x86_64')
url="https://gitlab.com/xaryphon/protonhax"
license=('BSD')
makedepends=('tcc')
source=('git+https://gitlab.com/xaryphon/protonhax.git')
md5sums=('SKIP')

build() {
    cd $pkgname
    make
}

package() {
    cd $pkgname

    install -d -m755 $pkgdir/usr/share/licenses/$pkgname
    install -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE

    install -d -m755 $pkgdir/usr/bin
    install -m755 protonhax $pkgdir/usr/bin/protonhax
    install -m755 envload $pkgdir/usr/bin/envload
}