diff --git a/.SRCINFO b/.SRCINFO index 5d0ba6b0c3a07..ea67d21019fa9 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,22 @@ pkgbase = trezor-suite - pkgdesc = The simplier, the safer. This AUR just install the AppImage and .desktop without other things. + pkgdesc = The simplier, the safer. This AUR just install the pure AppImage. pkgver = 25.11.3 - pkgrel = 0 + pkgrel = 1 url = https://github.com/trezor/trezor-suite arch = x86_64 license = custom:T-RSL + noextract = Trezor-Suite-25.11.3-linux-x86_64.AppImage options = !strip options = !debug - source = https://github.com/trezor/trezor-suite/releases/download/v25.11.3/Trezor-Suite-25.11.3-linux-x86_64.AppImage + source = Trezor-Suite-25.11.3-linux-x86_64.AppImage::https://github.com/trezor/trezor-suite/releases/download/v25.11.3/Trezor-Suite-25.11.3-linux-x86_64.AppImage + source = trezor-suite + source = trezor-suite.desktop + source = trezor-suite.png::https://raw.githubusercontent.com/trezor/trezor-suite/master/suite-native/app/assets/production/appIcon.png + source = LICENSE.md::https://raw.githubusercontent.com/trezor/trezor-suite/master/LICENSE.md sha512sums = d3436773bc58dec9cfe604b91b3b33804dcc553359ea3522538dc3ebc3f3e1a63380d68f9fc24cba1de40b4c9bc66e076879d9f440b812b69af54e603bc32adf + sha512sums = 644da8513c9d3475f4f610376da885de20308d5cc458d01b1bf9d7613b009e82be3dd8ab0a2b875e309a374786127471da360920f8f8cc0aa17f613c135ce9fc + sha512sums = 7f78d437d0de7787f749adc0ddf8f9cfb89096cafd6b58782e07fdb5eb65d7d996b4423a3576c3e104a1131694ea8ea174c43045fb2101d4a1b80cfc682a966d + sha512sums = f12c122d7f297511cf6b2cf47e41d0a4c1ced4b6d0c34109646e977e51228a3e9249af00ff757da633df840a60e06b86f31e44dfd980876ab9b33139bed2d32c + sha512sums = 84ba4ab671d5ccc79d9463f01552cc7ff6b801a6a26a262048dd0be806a345974f618119dd24dae7966e9446cb3e1358d9022caa3d1ff88a6555c96b23793c05 pkgname = trezor-suite diff --git a/PKGBUILD b/PKGBUILD index 5a175794082f3..54af88880566f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,35 +2,36 @@ pkgname="trezor-suite" pkgver="25.11.3" -pkgrel=0 -pkgdesc="The simplier, the safer. This AUR just install the AppImage and .desktop without other things." +pkgrel=1 +pkgdesc="The simplier, the safer. This AUR just install the pure AppImage." arch=("x86_64") options=(!strip !debug) _pkgname="Trezor-Suite-$pkgver-linux-$arch" url="https://github.com/trezor/trezor-suite" license=("custom:T-RSL") source=( - "https://github.com/trezor/$pkgname/releases/download/v$pkgver/$_pkgname.AppImage" + "$_pkgname.AppImage::https://github.com/trezor/$pkgname/releases/download/v$pkgver/$_pkgname.AppImage" # safe AppImage from the official repo #"https://github.com/trezor/$pkgname/releases/download/v$pkgver/$_pkgname.AppImage.asc" + "$pkgname" # Execute file, just execute the AppImage + "$pkgname.desktop" # Desktop Entry, just execute the AppImage + "$pkgname.png::https://raw.githubusercontent.com/trezor/trezor-suite/master/suite-native/app/assets/production/appIcon.png" # Icon from the official repo + "LICENSE.md::https://raw.githubusercontent.com/trezor/trezor-suite/master/LICENSE.md" # LICENSE from the official repo ) +noextract=($_pkgname.AppImage) sha512sums=( "d3436773bc58dec9cfe604b91b3b33804dcc553359ea3522538dc3ebc3f3e1a63380d68f9fc24cba1de40b4c9bc66e076879d9f440b812b69af54e603bc32adf" # echo '00Nnc7xY3snP5gS5GzszgE3MVTNZ6jUiU43D68Pz4aYzgNaPn8JMuh3kC0ybxm4HaHnZ9EC4Eraa9U5gO8Mq3w==' | base64 -d | od -An -tx1 | tr -d ' \n' + "644da8513c9d3475f4f610376da885de20308d5cc458d01b1bf9d7613b009e82be3dd8ab0a2b875e309a374786127471da360920f8f8cc0aa17f613c135ce9fc" + "7f78d437d0de7787f749adc0ddf8f9cfb89096cafd6b58782e07fdb5eb65d7d996b4423a3576c3e104a1131694ea8ea174c43045fb2101d4a1b80cfc682a966d" + "f12c122d7f297511cf6b2cf47e41d0a4c1ced4b6d0c34109646e977e51228a3e9249af00ff757da633df840a60e06b86f31e44dfd980876ab9b33139bed2d32c" + "84ba4ab671d5ccc79d9463f01552cc7ff6b801a6a26a262048dd0be806a345974f618119dd24dae7966e9446cb3e1358d9022caa3d1ff88a6555c96b23793c05" ) -prepare() { - cd $srcdir - ln -f $startdir/$_pkgname.AppImage $srcdir - chmod +x $_pkgname.AppImage - $srcdir/$_pkgname.AppImage --appimage-extract - cp squashfs-root/$pkgname.desktop $srcdir - sed -i "s|^Exec=.*|Exec=/opt/$pkgname/$_pkgname.AppImage|" $pkgname.desktop - cp squashfs-root/usr/share/icons/hicolor/512x512/apps/$pkgname.png $srcdir -} - package() { cd $srcdir - install -Dm755 -t $pkgdir/opt/$pkgname/ $_pkgname.AppImage + install -Dm755 $_pkgname.AppImage $pkgdir/opt/$pkgname/$pkgname.AppImage + install -Dm755 -t $pkgdir/usr/bin $pkgname install -Dm644 -t $pkgdir/usr/share/applications/ $pkgname.desktop install -Dm644 -t $pkgdir/usr/share/icons/hicolor/512x512/apps/ $pkgname.png + install -Dm644 -t $pkgdir/usr/share/licenses/$pkgname LICENSE.md } diff --git a/trezor-suite b/trezor-suite new file mode 100644 index 0000000000000..d7597a64b679e --- /dev/null +++ b/trezor-suite @@ -0,0 +1,2 @@ +#!/bin/sh +/opt/trezor-suite/trezor-suite.AppImage "$@" diff --git a/trezor-suite.desktop b/trezor-suite.desktop new file mode 100644 index 0000000000000..6fec862427fc3 --- /dev/null +++ b/trezor-suite.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Trezor Suite +Exec=/opt/trezor-suite/Trezor-Suite-25.11.3-linux-x86_64.AppImage +Terminal=false +Type=Application +Icon=trezor-suite +StartupWMClass=Trezor Suite +X-AppImage-Version=25.11.3 +Comment=Trezor Suite desktop application +MimeType=x-scheme-handler/trezorsuite;x-scheme-handler/bitcoin;x-scheme-handler/litecoin;x-scheme-handler/bitcoincash;x-scheme-handler/bitcoingold;x-scheme-handler/dash;x-scheme-handler/digibyte;x-scheme-handler/dogecoin;x-scheme-handler/namecoin;x-scheme-handler/vertcoin;x-scheme-handler/zcash; +Categories=Utility;