summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Kauschinger2021-04-05 13:25:57 +0200
committerManuel Kauschinger2021-04-05 13:25:57 +0200
commitdf4ba182041a148501e121a4e58a29576fadcdf9 (patch)
tree806ff694c1f81dd748e8f897f40357385dedb91e
downloadaur-df4ba182041a148501e121a4e58a29576fadcdf9.tar.gz
initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD49
-rw-r--r--iota-firefly-wallet.desktop9
3 files changed, 80 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2f740f43cd3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = iota-firefly-wallet
+ pkgdesc = The IOTA Firefly Wallet - Public Beta
+ pkgver = 0.3.1
+ pkgrel = 1
+ url = https://trinity.iota.org/
+ arch = x86_64
+ license = Apache
+ depends = gnome-keyring
+ depends = libsecret
+ depends = gtk3
+ depends = libxss
+ depends = nss
+ provides = iota-firefly-wallet
+ options = !strip
+ source = iota-firefly-wallet.desktop
+ md5sums = c22e0c2b6cd8941ea147ddc01352858a
+ sha512sums = e7e47f5c99d0536de091204df8eb94fb32471ae550f7861fd0373057af90f8bf4f5aa9fa53ea4fa12303b41bb6a23905d99b751f2c849c3b2c67735a66780714
+ source_x86_64 = https://github.com/iotaledger/firefly/releases/download/desktop-0.3.1/firefly-desktop-0.3.1.AppImage
+ sha256sums_x86_64 = 0f43bdf012fcab71b6e1137566d58a7fce86d87ec1481cd254d46e43cb0e1429
+
+pkgname = iota-firefly-wallet
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c5f3eb360d0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Manuel Kauschinger <admin at bruzzzla dot de>
+pkgname=iota-firefly-wallet
+pkgver=0.3.1
+pkgrel=1
+pkgdesc="The IOTA Firefly Wallet - Public Beta"
+arch=(x86_64)
+url="https://trinity.iota.org/"
+license=('Apache')
+provides=(iota-firefly-wallet)
+options=('!strip')
+depends=('gnome-keyring' 'libsecret' 'gtk3' 'libxss' 'nss')
+
+
+source_x86_64=("https://github.com/iotaledger/firefly/releases/download/desktop-$pkgver/firefly-desktop-$pkgver.AppImage")
+sha256sums_x86_64=('0f43bdf012fcab71b6e1137566d58a7fce86d87ec1481cd254d46e43cb0e1429')
+
+source=("iota-firefly-wallet.desktop")
+md5sums=('c22e0c2b6cd8941ea147ddc01352858a')
+sha512sums=('e7e47f5c99d0536de091204df8eb94fb32471ae550f7861fd0373057af90f8bf4f5aa9fa53ea4fa12303b41bb6a23905d99b751f2c849c3b2c67735a66780714')
+
+
+prepare() {
+ # Extract Appimage
+ chmod +x "${srcdir}/firefly-desktop-$pkgver.AppImage"
+ "${srcdir}/firefly-desktop-$pkgver.AppImage" --appimage-extract > /dev/null 2>&1
+ chmod -x "${srcdir}/firefly-desktop-$pkgver.AppImage"
+}
+
+package() {
+ # Copy files
+ install -dm755 "${pkgdir}/opt/${pkgname}"
+ cp -Rr "${srcdir}/squashfs-root/"* "${pkgdir}/opt/${pkgname}"
+
+ # Desktop entry
+ install -Dm644 "${srcdir}/iota-firefly-wallet.desktop" "${pkgdir}/usr/share/applications/firefly-desktop.desktop"
+
+ # Icon
+ install -dm755 "${pkgdir}/usr/share/icons/hicolor"
+ cp -Rr "${srcdir}/squashfs-root/usr/share/icons/hicolor/0x0/apps/desktop.png" "${pkgdir}/usr/share/icons/firefly-desktop.png"
+
+ # fix file permissions - all files as 644 - directories as 755
+ find "${pkgdir}/"{opt,usr} -type d -exec chmod 755 {} \;
+ find "${pkgdir}/"{opt,usr} -type f -exec chmod 644 {} \;
+ chmod +x "${pkgdir}/opt/${pkgname}/desktop"
+
+ # Link binary
+ install -dm755 "${pkgdir}/usr/bin"
+ ln -sr "${pkgdir}/opt/${pkgname}/desktop" "${pkgdir}/usr/bin/iota-firefly-wallet"
+}
diff --git a/iota-firefly-wallet.desktop b/iota-firefly-wallet.desktop
new file mode 100644
index 00000000000..6b0bc6582c6
--- /dev/null
+++ b/iota-firefly-wallet.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=IOTA Firefly Wallet
+Comment=Desktop wallet for IOTA
+Exec=/usr/bin/iota-firefly-wallet
+Icon=firefly-desktop
+Terminal=false
+Type=Application
+Categories=Office;Utility;Application;Finance;
+MimeType=x-scheme-handler/iota;