Update to 0.5.3 and add Arm 64 support
This commit is contained in:
parent
0f2c75b5fb
commit
a7025d545b
9
.SRCINFO
9
.SRCINFO
@ -1,16 +1,19 @@
|
|||||||
pkgbase = feishin-bin
|
pkgbase = feishin-bin
|
||||||
pkgdesc = Rewrite of Sonixd
|
pkgdesc = Rewrite of Sonixd
|
||||||
pkgver = 0.5.2
|
pkgver = 0.5.3
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/jeffvli/feishin
|
url = https://github.com/jeffvli/feishin
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
arch = aarch64
|
||||||
license = GPL3
|
license = GPL3
|
||||||
depends = mpv
|
depends = mpv
|
||||||
provides = feishin
|
provides = feishin
|
||||||
conflicts = feishin
|
conflicts = feishin
|
||||||
source = feishin.desktop
|
source = feishin.desktop
|
||||||
source = https://github.com/jeffvli/feishin/releases/download/v0.5.2/Feishin-0.5.2-linux-x64.tar.xz
|
|
||||||
sha256sums = ef112b1a9ef80d8bf27f721fdbb12de0a195da4e464dbf27282503ba398bef8d
|
sha256sums = ef112b1a9ef80d8bf27f721fdbb12de0a195da4e464dbf27282503ba398bef8d
|
||||||
sha256sums = ff33d5ffda390fbd79077089d02c37c836e61a0eadfac14d6f0cf035def45c1d
|
source_x86_64 = https://github.com/jeffvli/feishin/releases/download/v0.5.3/Feishin-0.5.3-linux-x64.tar.xz
|
||||||
|
sha256sums_x86_64 = 9f5e59ff1ea9d45cad33d113da81fd6212817e79a9432f164755549dbac10318
|
||||||
|
source_aarch64 = https://github.com/jeffvli/feishin/releases/download/v0.5.3/Feishin-0.5.3-linux-arm64.tar.xz
|
||||||
|
sha256sums_aarch64 = 8a97ddd3805ea2eb6525dc8e83b46efa4539e9e2d4f31fc3109590927ed9795b
|
||||||
|
|
||||||
pkgname = feishin-bin
|
pkgname = feishin-bin
|
||||||
|
24
PKGBUILD
24
PKGBUILD
@ -2,26 +2,34 @@
|
|||||||
|
|
||||||
pkgname=feishin-bin
|
pkgname=feishin-bin
|
||||||
pkgdesc='Rewrite of Sonixd'
|
pkgdesc='Rewrite of Sonixd'
|
||||||
pkgver=0.5.2
|
pkgver=0.5.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('x86_64')
|
arch=('x86_64' 'aarch64')
|
||||||
url='https://github.com/jeffvli/feishin'
|
url='https://github.com/jeffvli/feishin'
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
depends=('mpv') # TODO check node requirements
|
depends=('mpv') # TODO check node requirements
|
||||||
provides=("${pkgname%-bin}")
|
provides=("${pkgname%-bin}")
|
||||||
conflicts=("${pkgname%-bin}")
|
conflicts=("${pkgname%-bin}")
|
||||||
_filename=Feishin-${pkgver//_/-}-linux-x64.tar.xz
|
_filename=Feishin-${pkgver//_/-}-linux
|
||||||
source=("feishin.desktop"
|
source=("feishin.desktop")
|
||||||
"https://github.com/jeffvli/feishin/releases/download/v${pkgver//_/-}/${_filename}")
|
source_x86_64=("https://github.com/jeffvli/feishin/releases/download/v${pkgver//_/-}/${_filename}-x64.tar.xz")
|
||||||
sha256sums=('ef112b1a9ef80d8bf27f721fdbb12de0a195da4e464dbf27282503ba398bef8d'
|
source_aarch64=("https://github.com/jeffvli/feishin/releases/download/v${pkgver//_/-}/${_filename}-arm64.tar.xz")
|
||||||
'ff33d5ffda390fbd79077089d02c37c836e61a0eadfac14d6f0cf035def45c1d')
|
sha256sums=('ef112b1a9ef80d8bf27f721fdbb12de0a195da4e464dbf27282503ba398bef8d')
|
||||||
|
sha256sums_x86_64=('9f5e59ff1ea9d45cad33d113da81fd6212817e79a9432f164755549dbac10318')
|
||||||
|
sha256sums_aarch64=('8a97ddd3805ea2eb6525dc8e83b46efa4539e9e2d4f31fc3109590927ed9795b')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
# create target file structure
|
# create target file structure
|
||||||
mkdir -p "$pkgdir/usr/bin"
|
mkdir -p "$pkgdir/usr/bin"
|
||||||
mkdir -p "$pkgdir/usr/share/"{feishin,pixmaps,applications}
|
mkdir -p "$pkgdir/usr/share/"{feishin,pixmaps,applications}
|
||||||
|
# HACK rename package correctly
|
||||||
|
if [ $CARCH == "x86_64" ]; then
|
||||||
|
mv ${_filename}-x64.tar.xz ${_filename}-x86_64.tar.xz
|
||||||
|
elif [ $CARCH == "aarch64" ]; then
|
||||||
|
mv ${_filename}-arm64.tar.xz ${_filename}-aarch64.tar.xz
|
||||||
|
fi
|
||||||
# extract files to target
|
# extract files to target
|
||||||
tar -xf ${_filename} -C "$pkgdir/usr/share/feishin" --strip-components=1
|
tar -xf ${_filename}-$CARCH.tar.xz -C "$pkgdir/usr/share/feishin" --strip-components=1
|
||||||
# install icon
|
# install icon
|
||||||
install -Dm644 "$pkgdir/usr/share/feishin/resources/assets/icons/icon.png" "$pkgdir/usr/share/pixmaps/${pkgname%-bin}.png"
|
install -Dm644 "$pkgdir/usr/share/feishin/resources/assets/icons/icon.png" "$pkgdir/usr/share/pixmaps/${pkgname%-bin}.png"
|
||||||
# symlink executable to "/usr/bin/feishin"
|
# symlink executable to "/usr/bin/feishin"
|
||||||
|
Loading…
Reference in New Issue
Block a user