Created
January 6, 2023 11:41
-
-
Save kyujin-cho/941dd98362b21764a58bc1c047dc8ea5 to your computer and use it in GitHub Desktop.
1Password
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/PKGBUILD b/PKGBUILD | |
index 413c1e5..1819232 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -1,27 +1,25 @@ | |
pkgname=1password | |
_tarver=8.9.10 | |
-_tar="1password-${_tarver}.x64.tar.gz" | |
+_tar="1password-latest.tar.gz" | |
pkgver=${_tarver//-/_} | |
pkgrel=43 | |
conflicts=('1password-beta' '1password-beta-bin') | |
pkgdesc="Password manager and secure wallet" | |
-arch=('x86_64') | |
+arch=('aarch64') | |
url='https://1password.com' | |
license=('LicenseRef-1Password-Proprietary') | |
options=(!strip) | |
install="1password.install" | |
-source=(https://downloads.1password.com/linux/tar/stable/${CARCH}/${_tar}{,.sig}) | |
-sha256sums=('6a86b4d16e73bd941e1ca77612acabc65e59d4fc0b307739964314b242e20fbe' | |
- 'a62ffa510bdb3da663ea470f67d02756c2e9865bb1bc7cd3ffd7c06631a08889' | |
-) | |
+source=(https://downloads.1password.com/linux/tar/stable/aarch64/1password-latest.tar.gz) | |
+sha256sums=('66deb8506288dfe0dac92e973fb8d313ea71bf9dad51465b5078aece3726d492') | |
validpgpkeys=('3FEF9748469ADBE15DA7CA80AC2D62742012EA22') | |
package() { | |
depends=('hicolor-icon-theme' 'libgtk-3.so=0' 'nss') | |
# Go to source directory | |
- cd "1password-${_tarver}.x64" | |
+ cd "1password-${_tarver}.arm64" | |
# Install icons | |
resolutions=(32x32 64x64 256x256 512x512) | |
@@ -49,7 +47,7 @@ EOF" > ./com.1password.1Password.policy | |
# Move package contents to /opt/1Password | |
cd "${srcdir}" | |
install -dm0755 "${pkgdir}"/opt | |
- mv "1password-${_tarver}.x64" "${pkgdir}/opt/1Password" | |
+ mv "1password-${_tarver}.arm64" "${pkgdir}/opt/1Password" | |
# Cleanup un-needed files | |
rm "${pkgdir}"/opt/1Password/com.1password.1Password.policy "${pkgdir}"/opt/1Password/com.1password.1Password.policy.tpl "${pkgdir}"/opt/1Password/install_biometrics_policy.sh |
Author
kyujin-cho
commented
Jan 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment