Add aarch64 support

This commit is contained in:
Yuki Ibe 2025-11-24 11:55:46 +00:00
parent 7727c58591
commit db0febde04
2 changed files with 12 additions and 7 deletions

View file

@ -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

View file

@ -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"