diff options
author | zxp19821005 | 2024-02-23 18:18:09 +0800 |
---|---|---|
committer | zxp19821005 | 2024-02-23 18:18:09 +0800 |
commit | 37c18d03dad09a4496682ddbebf8cf3d782c9123 (patch) | |
tree | 70914d790e41869b3ac09facf6bcbeb68f91d145 /PKGBUILD | |
parent | 76115dc1e71dee26cf786b11ccf37d7334908274 (diff) | |
download | aur-37c18d03dad09a4496682ddbebf8cf3d782c9123.tar.gz |
fix errors
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -3,13 +3,11 @@ pkgname=openhome-bin _pkgname=OpenHome pkgver=0.3.0 _electronversion=25 -pkgrel=1 +pkgrel=2 pkgdesc="Application for importing and transferring Pokémon between save files" -arch=( - 'x86_64' -) +arch=('x86_64') url="https://github.com/andrewbenington/OpenHome" -license=('GPL3') +license=('GPL-3.0-only') provides=("${pkgname%-bin}=${pkgver}") conflicts=("${pkgname%-bin}") depends=( @@ -20,13 +18,13 @@ source=( "${pkgname%-bin}.sh" ) sha256sums=('d7c3c19e486b75a170d769569e9a43a3fbcd445af8f0a4ebc6557720567c773e' - 'd4272fed78cdcacd9edfb019134ac485d65b43f4d8c7a4179edbaed56af9b231') + '0fb7b939a071f4a08476bdd5aa143d2aa8cd335c83309f9919be16cd5c3e2014') build() { sed -e "s|@electronversion@|${_electronversion}|" \ -e "s|@appname@|${pkgname%-bin}|g" \ - -e "s|@appasar@|app.asar|g" \ + -e "s|@runname@|app.asar|g" \ -i "${srcdir}/${pkgname%-bin}.sh" - bsdtar -xf "${srcdir}/data.tar.xz" + bsdtar -xf "${srcdir}/data."* sed "s|/opt/${_pkgname}/${pkgname%-bin}|${pkgname%-bin}|g" -i "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" } package() { |