diff options
author | zxp19821005 | 2023-09-15 12:15:49 +0800 |
---|---|---|
committer | zxp19821005 | 2023-09-15 12:15:49 +0800 |
commit | c72759a04541ac78ae3a0be5751a027b9c2e6bd8 (patch) | |
tree | a6d4777decde5c498500e057d441f7c0d34ca036 | |
parent | 73ca5d7f61561c5cff6d115a864eb447ba867972 (diff) | |
download | aur-c72759a04541ac78ae3a0be5751a027b9c2e6bd8.tar.gz |
fix errors
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | marvin.sh | 2 |
3 files changed, 10 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = marvin-bin pkgdesc = Open Source record and playback test automation for the web. pkgver = 0.4.9 - pkgrel = 2 + pkgrel = 3 url = https://rolandbernard.github.io/marvin/ arch = x86_64 license = MIT @@ -10,10 +10,10 @@ pkgbase = marvin-bin provides = marvin=0.4.9 conflicts = marvin source = marvin-0.4.9.AppImage::https://github.com/rolandbernard/marvin/releases/download/v0.4.9/Marvin-0.4.9.AppImage - source = LICENSE::https://raw.githubusercontent.com/rolandbernard/marvin/master/LICENSE + source = LICENSE::https://raw.githubusercontent.com/rolandbernard/marvin/v0.4.9/LICENSE source = marvin.sh sha256sums = 624a42d8d31d56bd9a3b82f4b6258ebffd9b5f5d623575b44b120f3646ae269e sha256sums = 67cc90dae7113cf3572e7ae6b893b8e06960f696a6a1d3fc6b36b607cea970d6 - sha256sums = 213e77f2af6e34b850b98efae7a87fd4fe87c5a2ab4ec7e133a4b0e6eeb6a321 + sha256sums = 756ab370a11ec5b693fed4c7a927743a42aaeb8843f5ca36a5a91af486e15bf9 pkgname = marvin-bin @@ -2,7 +2,7 @@ pkgname=marvin-bin _appname=Marvin pkgver=0.4.9 -pkgrel=2 +pkgrel=3 pkgdesc="Open Source record and playback test automation for the web." arch=('x86_64') url="https://rolandbernard.github.io/marvin/" @@ -12,19 +12,19 @@ provides=("${pkgname%-bin}=${pkgver}") conflicts=("${pkgname%-bin}") depends=('bash' 'electron24') source=("${pkgname%-bin}-${pkgver}.AppImage::${_githuburl}/releases/download/v${pkgver}/${_appname}-${pkgver}.AppImage" - "LICENSE::https://raw.githubusercontent.com/rolandbernard/marvin/master/LICENSE" + "LICENSE::https://raw.githubusercontent.com/rolandbernard/marvin/v${pkgver}/LICENSE" "${pkgname%-bin}.sh") sha256sums=('624a42d8d31d56bd9a3b82f4b6258ebffd9b5f5d623575b44b120f3646ae269e' '67cc90dae7113cf3572e7ae6b893b8e06960f696a6a1d3fc6b36b607cea970d6' - '213e77f2af6e34b850b98efae7a87fd4fe87c5a2ab4ec7e133a4b0e6eeb6a321') + '756ab370a11ec5b693fed4c7a927743a42aaeb8843f5ca36a5a91af486e15bf9') prepare() { chmod a+x "${srcdir}/${pkgname%-bin}-${pkgver}.AppImage" "${srcdir}/${pkgname%-bin}-${pkgver}.AppImage" --appimage-extract > /dev/null + sed "s|AppRun --no-sandbox %U|${pkgname%-bin}|g" -i "${srcdir}/squashfs-root/${pkgname%-bin}.desktop" } package() { - install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/opt/${pkgname%-bin}/${pkgname%-bin}" - install -Dm644 "${srcdir}/squashfs-root/resources/app.asar" "${pkgdir}/opt/${pkgname%-bin}/${pkgname%-bin}.asar" - sed "s|AppRun --no-sandbox %U|/opt/${pkgname%-bin}/${pkgname%-bin}|g" -i "${srcdir}/squashfs-root/${pkgname%-bin}.desktop" + install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}" + install -Dm644 "${srcdir}/squashfs-root/resources/app.asar" -t "${pkgdir}/opt/${pkgname%-bin}" install -Dm644 "${srcdir}/squashfs-root/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications" install -Dm644 "${srcdir}/squashfs-root/usr/share/icons/hicolor/0x0/apps/${pkgname%-bin}.png" -t "${pkgdir}/usr/share/pixmaps" install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" diff --git a/marvin.sh b/marvin.sh index 67ad1cf6c637..9eecc611a979 100644 --- a/marvin.sh +++ b/marvin.sh @@ -1,6 +1,6 @@ #!/bin/bash _ELECTRON=/usr/bin/electron24 -_ASAR="/opt/marvin/marvin.asar" +_ASAR="/opt/marvin/app.asar" if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then exec ${_ELECTRON} ${_ASAR} "$@" else |