summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUxio Fuentefria2020-09-04 17:20:27 +0200
committerUxio Fuentefria2020-09-04 17:22:30 +0200
commitd52d2b93f5a170a0724b9efea926e6b6569104cd (patch)
tree4434c12f74f06962ad07823f1250ce0b7834446e
downloadaur-d52d2b93f5a170a0724b9efea926e6b6569104cd.tar.gz
Create repo
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD26
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..748991f68db
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = gnosis-safe-multisig-bin
+ pkgdesc = Gnosis Safe Multisig Desktop (Beta) for Linux, a Ethereum Multisig Wallet
+ pkgver = 2.11.0
+ pkgrel = 1
+ url = https://github.com/gnosis/safe-react/releases
+ arch = x86_64
+ license = MIT
+ depends = gtk3
+ depends = nss
+ depends = libxss
+ source = https://github.com/gnosis/safe-react/releases/download/v2.11.0/safe-react_2.11.0_amd64.deb
+ sha256sums = b14314f049d1332b199d4e34f805e627a6b0b834038acfc74eaf431f55013968
+
+pkgname = gnosis-safe-multisig-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5664a4536bd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Uxio Fuentefria <uxio@gnosis.io>
+
+pkgname=gnosis-safe-multisig-bin
+pkgver=2.11.0
+pkgrel=1
+pkgdesc="Gnosis Safe Multisig Desktop (Beta) for Linux, a Ethereum Multisig Wallet"
+arch=('x86_64')
+url="https://github.com/gnosis/safe-react/releases"
+license=('MIT')
+depends=('gtk3' 'nss' 'libxss')
+source=("https://github.com/gnosis/safe-react/releases/download/v${pkgver}/safe-react_${pkgver}_amd64.deb")
+sha256sums=('b14314f049d1332b199d4e34f805e627a6b0b834038acfc74eaf431f55013968')
+
+prepare() {
+ cd "${srcdir}"
+ bsdtar -xf data.tar.xz
+}
+package() {
+ install -d "${pkgdir}/usr/bin"
+ install -d "${pkgdir}/opt"
+
+ cp -r "${srcdir}/opt/Safe Multisig" "${pkgdir}/opt/${pkgname}"
+ cp -r "${srcdir}/usr/share/" "${pkgdir}/usr/share/"
+ # install -m644 "${srcdir}/${_pkgname}-url-handler.desktop" "${pkgdir}/usr/share/applications/${_pkgname}-url-handler.desktop"
+ ln -s /opt/${pkgname}/safe-react "${pkgdir}"/usr/bin/gnosis-safe-multisig
+}