summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3892588ffbaf431a107b227c500259db5e5d4d6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Sergio Losito <shape93@gmail.com>
pkgname=psa-update-bin
pkgbase=psa-update-bin
pkgdesc='CLI alternative to PSA (Peugeot / Citroën / DS / Opel) infotainment system update (NAC / RCC firmware and navigation maps), hopefully more robust.'
pkgver=1.0.6
pkgrel=1
arch=('x86_64')
url='https://github.com/zeld/psa-update'
license=('UNLICENSE')
depends=('openssl')
source=("psa-update-${pkgver}-x86_64-unknown-linux-gnu.tar.gz"::"${url}/releases/download/${pkgver}/psa-update-${pkgver}-x86_64-unknown-linux-gnu.tar.gz")
noextract=("psa-update-${pkgver}-x86_64-unknown-linux-gnu.tar.gz"::"${url}/releases/download/${pkgver}/psa-update-${pkgver}-x86_64-unknown-linux-gnu.tar.gz")
sha256sums=("fc53df1d8da03f1670f3957df7c362397d6da7fa4f2e6df0c986bdebf9e748e4")

package() {
     cd "psa-update-${pkgver}-x86_64-unknown-linux-gnu"
     install -Dm755 "psa-update" "$pkgdir/usr/bin/psa-update"
     install -Dm644 LICENCE.md "$pkgdir/usr/share/licenses/psa-update/LICENSE"
}