diff options
author | zxp19821005 | 2023-11-06 20:03:04 +0800 |
---|---|---|
committer | zxp19821005 | 2023-11-06 20:03:04 +0800 |
commit | 1e1e860c1cb1437e279bcd93eecc07a317051e44 (patch) | |
tree | b60b18eb261c1547a80b30b7ff7657d2c00e60a8 /PKGBUILD | |
parent | 121124f0f8efa9809d8566dca177d7f3ed00bac2 (diff) | |
download | aur-1e1e860c1cb1.tar.gz |
update to 2.21.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 18 insertions, 10 deletions
@@ -1,8 +1,8 @@ # Maintainer: zxp19821005 <zxp19821005 at 163 dot com> _pkgname=buttercup pkgname="${_pkgname}-desktop-bin" -pkgver=2.20.3 -pkgrel=4 +pkgver=2.21.0 +pkgrel=1 pkgdesc="Cross-Platform Passwords & Secrets Vault" arch=('aarch64' 'armv7h' 'x86_64') url="https://buttercup.pw/" @@ -10,24 +10,32 @@ _githuburl="https://github.com/buttercup/buttercup-desktop" license=('GPL3') provides=("${pkgname%-bin}=${pkgver}") conflicts=("${pkgname%-bin}") -depends=('bash' 'electron22' 'hicolor-icon-theme') +depends=( + 'bash' + 'electron22' + 'hicolor-icon-theme' +) +makedepends=( + 'squashfuse' +) source_aarch64=("${pkgname%-bin}-${pkgver}-aarch64.AppImage::${_githuburl}/releases/download/v${pkgver}/${_pkgname//b/B}-linux-arm64.AppImage") source_armv7h=("${pkgname%-bin}-${pkgver}-armv7h.AppImage::${_githuburl}/releases/download/v${pkgver}/${_pkgname//b/B}-linux-armv7l.AppImage") source_x86_64=("${pkgname%-bin}-${pkgver}-x86_64.AppImage::${_githuburl}/releases/download/v${pkgver}/${_pkgname//b/B}-linux-x86_64.AppImage") source=("${pkgname%-bin}.sh") -sha256sums=('3c46bb45089efd35a1f503d32f3ca67ecf46b09b1636baeacdf0f3febe60135b') -sha256sums_aarch64=('76b885a9aae1a3f708f7202372b1c434a27d755275c24709d270f850dfca07e8') -sha256sums_armv7h=('ab49db4be607384a38b5365f9d796ccb4a3b8387dec37e9b096dfabeb1de8ef8') -sha256sums_x86_64=('7bb0998c94a400090d9fbdd9ddc83e0f9494751781a7aa6acfbccaadb907b37f') -prepare() { +sha256sums=('4faee38e8f06e72f7a742a2bd13bf3f374275b1b85fe0381dfb609a0bbc40bf2') +sha256sums_aarch64=('e4fff59cf87affc13ab359dbc87bb57f1f213c00345ecf53cd65b5b4d1e67c66') +sha256sums_armv7h=('9c305827c6bc44c897486d126dd36e2c05eecc7be5affeed1492d2e806177195') +sha256sums_x86_64=('385a9ac6b624d6fc998a0af614dea890c8c175bd9221ebc4345e3db9b6c70fc7') +build() { chmod a+x "${srcdir}/${pkgname%-bin}-${pkgver}-${CARCH}.AppImage" "${srcdir}/${pkgname%-bin}-${pkgver}-${CARCH}.AppImage" --appimage-extract > /dev/null - sed "s|AppRun --no-sandbox %U|${pkgname%-bin}|g;s|Icon=${_pkgname}|Icon=${pkgname%-bin}|g" \ + 1sed "s|AppRun --no-sandbox %U|${pkgname%-bin}|g;s|Icon=${_pkgname}|Icon=${pkgname%-bin}|g" \ -i "${srcdir}/squashfs-root/${_pkgname}.desktop" } package() { install -Dm755 "${srcdir}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}" - install -Dm644 "${srcdir}/squashfs-root/resources/app.asar" "${pkgdir}/opt/${pkgname%-bin}/${pkgname%-bin}.asar" + install -Dm644 "${srcdir}/squashfs-root/resources/app.asar" -t "${pkgdir}/usr/lib/${pkgname%-bin}" + install -Dm644 "${srcdir}/squashfs-root/usr/lib/"* -t "${pkgdir}/usr/lib/${pkgname%-bin}/lib" for _icons in 16x16 32x32 48x48 128x128 256x256;do install -Dm644 "${srcdir}/squashfs-root/usr/share/icons/hicolor/${_icons}/apps/${_pkgname}.png" \ "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps/${pkgname%-bin}.png" |