aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d463c8de7eb08454b5dd2217005d58fe69a74a2a (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
#!/usr/bin/env bash
# Maintainer: JeremyStarTM <jeremystartm@staropensource.de>

pkgname=osuboot-git
pkgver=r18.e01b836
pkgrel=1
pkgdesc="Wrapper for osu!lazer. Downloads and executes the AppImage automatically without requiring any manual work."
arch=("any")
url="https://git.staropensource.de/JeremyStarTM/aur-osuboot-git"
license=("GPL-3.0-or-later")
sha512sums=("SKIP")
source=("git+https://git.staropensource.de/JeremyStarTM/osuboot.git")
depends=("wget"
         "fuse2"
         "iputils"
         "libappimage")
provides=("osuboot"
          "osu")

pkgver() {
    cd "osuboot"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}

prepare() {
    cd "osuboot"
}

build() {
    cd "osuboot"
}

package() {
    cd "osuboot"
    
    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    install -Dm755 osuboot.sh "${pkgdir}/usr/bin/osuboot"
}