summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 76b74981494ba9ebd0ff4e954355707b39204006 (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
# Maintainer: termuellinator

pkgname=proton-community-updater
pkgver=1.3
pkgrel=1
pkgdesc="Script to download and manage Community Proton builds"
arch=('any')
depends=('bash' 'coreutils' 'curl' 'xz')
optdepends=('zenity')
provides=('proton-community-updater')
url="https://github.com/Termuellinator/Proton-Community-Updater"
license=('GPL3')
source=(
    "${pkgname}-${pkgver}.tar.gz::https://github.com/Termuellinator/Proton-Community-Updater/archive/v${pkgver}.tar.gz"
    'proton-community-updater.desktop'
)
sha256sums=(
    '3a530f89cd33401b0206b3e4ee45fe1b667eeeedf7aaa1dbfa85e323f8b404f3'
    '07fcec5276fd0ad227fdedf5ea8dab3b054beb8a094ccda60b2c80ed4ea8411d'
)


package() {
    install -Dm755 "${srcdir}/Proton-Community-Updater-${pkgver}/proton-community-updater.sh" "$pkgdir/usr/bin/proton-community-updater"
    install -Dm755 "${srcdir}/Proton-Community-Updater-${pkgver}/proton-community-updater-icon.png" "$pkgdir/usr/share/pixmaps/proton-community-updater-icon.png"
    install -Dm755 "${srcdir}/proton-community-updater.desktop" "$pkgdir/usr/share/applications/proton-community-updater.desktop"
}