summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomasTraineau2023-04-01 14:18:23 +0200
committerThomasTraineau2023-04-01 14:18:23 +0200
commitfbc2b54b50194e6388cfefa545bd5f50a1906dab (patch)
tree7dd805ce56ef389cc066f91294e1ac860577eb9f
parentb9f875356731e3fe92ee4735d75e43239c21b38b (diff)
parent1d09a9767130dc91a8ccf1966f38a3e8bb2d4304 (diff)
downloadaur-fbc2b54b50194e6388cfefa545bd5f50a1906dab.tar.gz
Merge branch 'master' of ssh://aur.archlinux.org/hatt-bin
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bc8b5c68c7ab..33978a5854d8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -11,7 +11,7 @@ pkgbase = hatt-bin
source = https://raw.githubusercontent.com/FrenchGithubUser/Hatt/main/.pkg/hatt-bin.desktop
sha256sums = SKIP
sha256sums = SKIP
- source_x86_64 = https://github.com/FrenchGithubUser/Hatt/releases/download/0.1.1/hatt-linux-amd64
+ source_x86_64 = https://github.com/FrenchGithubUser/Hatt/releases/download/0.1.1/hatt-linux-x86_64
sha256sums_x86_64 = SKIP
pkgname = hatt-bin
diff --git a/PKGBUILD b/PKGBUILD
index e93bc495f52f..fed9bd5c5d32 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,13 +14,13 @@ license=('GPL')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_assets_url/frontend/public/images/hatt-logo.png" "$_assets_url/.pkg/hatt-bin.desktop")
-source_x86_64=("${url}/releases/download/${pkgver}/hatt-linux-amd64")
+source_x86_64=("${url}/releases/download/${pkgver}/hatt-linux-x86_64")
sha256sums_x86_64=('SKIP')
sha256sums=('SKIP' 'SKIP')
package() {
- install -Dm755 "$_pkgname-linux-amd64" "$pkgdir/usr/bin/$_pkgname"
+ install -Dm755 "$_pkgname-linux-$CARCH" "$pkgdir/usr/bin/$_pkgname"
install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$_pkgname.desktop
install -Dm644 $srcdir/$_pkgname-logo.png $pkgdir/usr/share/pixmaps/$_pkgname.png
}