diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5341eb7a7fa2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Jonian Guveli <https://github.com/jonian/> +pkgname=anchor-wallet-bin +pkgver=1.3.2 +pkgrel=1 +pkgdesc="EOSIO Desktop Wallet and Authenticator" +arch=("x86_64") +url="https://github.com/greymass/anchor" +license=("MIT") +depends=("nss" "libxss" "libnotify" "libsecret" "libappindicator-gtk3" "util-linux-libs" "xdg-utils" "libappindicator-gtk2") +optdepends=("xdotool: for Auto-type feature") +provides=("keeweb") +conflicts=("anchor-wallet" "anchor-wallet-git") +source=("$pkgname-$pkgver.deb::$url/releases/download/v${pkgver}/linux-anchor-wallet-${pkgver}-amd64.deb") +sha256sums=("20b5e0636c4661b1c0a456eb8d69a3cb20780e4f96a918b14a817e67aeb8b168") + +prepare() { + bsdtar xf data.tar.xz +} + +package() { + mv usr "$pkgdir" + mv opt "$pkgdir" + + sed -i "/Name=anchor-wallet/c\Name=Anchor Wallet" "$pkgdir/usr/share/applications/anchor-wallet.desktop" +} |