From db0febde0410525698ea97bf2c14d95b7ff01841 Mon Sep 17 00:00:00 2001 From: Yuki Ibe Date: Mon, 24 Nov 2025 11:55:46 +0000 Subject: [PATCH] Add aarch64 support --- .SRCINFO | 7 +++++-- PKGBUILD | 12 +++++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index fa2f5ac1560ea..a14c5c4e5b7ff 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -4,6 +4,7 @@ pkgbase = smoothcsv-bin pkgrel = 1 url = https://smoothcsv.com/ arch = x86_64 + arch = aarch64 license = LicenseRef-SmoothCSV depends = cairo depends = gdk-pixbuf2 @@ -16,9 +17,11 @@ pkgbase = smoothcsv-bin depends = hicolor-icon-theme provides = smoothcsv conflicts = smoothcsv - source = https://github.com/kohii/smoothcsv3/releases/download/v3.9.3/SmoothCSV-3.9.3-1.x86_64.rpm source = LICENSE-SmoothCSV.md::https://raw.githubusercontent.com/kohii/smoothcsv-website/refs/heads/main/src/pages/terms.md - sha256sums = 516a6c4dadaa6a65be0d80e92e68ca558ecb148c349ce42339bd1c0e1e3f00aa sha256sums = 21185cf5a704c8c91420cb9f25baf0937f852e3a40ada396b9f29cedf79bfab0 + source_x86_64 = https://github.com/kohii/smoothcsv3/releases/download/v3.9.3/SmoothCSV-3.9.3-1.x86_64.rpm + sha256sums_x86_64 = 516a6c4dadaa6a65be0d80e92e68ca558ecb148c349ce42339bd1c0e1e3f00aa + source_aarch64 = https://github.com/kohii/smoothcsv3/releases/download/v3.9.3/SmoothCSV-3.9.3-1.aarch64.rpm + sha256sums_aarch64 = 9cbfc8e3a6bb2bf470ac1d0ad069178e908915e98f15525fb5023619b50ef340 pkgname = smoothcsv-bin diff --git a/PKGBUILD b/PKGBUILD index e6f5ca5f94cb3..1abc787f4dd85 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,16 +5,18 @@ pkgver=3.9.3 pkgrel=1 _rpmver=${pkgver}-1 pkgdesc="A powerful and intuitive tool for editing CSV files" -arch=(x86_64) +arch=('x86_64' 'aarch64') url="https://smoothcsv.com/" license=('LicenseRef-SmoothCSV') depends=(cairo gdk-pixbuf2 webkit2gtk-4.1 gcc-libs glibc gtk3 glib2 libsoup3 hicolor-icon-theme) provides=("${pkgname%-bin}") conflicts=("${pkgname%-bin}") -source=("https://github.com/kohii/smoothcsv3/releases/download/v${pkgver}/SmoothCSV-${_rpmver}.x86_64.rpm" - "LICENSE-SmoothCSV.md::https://raw.githubusercontent.com/kohii/smoothcsv-website/refs/heads/main/src/pages/terms.md") -sha256sums=('516a6c4dadaa6a65be0d80e92e68ca558ecb148c349ce42339bd1c0e1e3f00aa' - '21185cf5a704c8c91420cb9f25baf0937f852e3a40ada396b9f29cedf79bfab0') +source=("LICENSE-SmoothCSV.md::https://raw.githubusercontent.com/kohii/smoothcsv-website/refs/heads/main/src/pages/terms.md") +source_x86_64=("https://github.com/kohii/smoothcsv3/releases/download/v${pkgver}/SmoothCSV-${_rpmver}.x86_64.rpm") +source_aarch64=("https://github.com/kohii/smoothcsv3/releases/download/v${pkgver}/SmoothCSV-${_rpmver}.aarch64.rpm") +sha256sums=('21185cf5a704c8c91420cb9f25baf0937f852e3a40ada396b9f29cedf79bfab0') +sha256sums_x86_64=('516a6c4dadaa6a65be0d80e92e68ca558ecb148c349ce42339bd1c0e1e3f00aa') +sha256sums_aarch64=('9cbfc8e3a6bb2bf470ac1d0ad069178e908915e98f15525fb5023619b50ef340') prepare() { sed -i '/^---$/,/^$/d' "$srcdir/LICENSE-SmoothCSV.md"