Update to 0.9.0
This commit is contained in:
parent
5760c08201
commit
7f4266ce10
10
.SRCINFO
10
.SRCINFO
@ -1,6 +1,6 @@
|
||||
pkgbase = feishin-bin
|
||||
pkgdesc = Rewrite of Sonixd
|
||||
pkgver = 0.7.3
|
||||
pkgver = 0.9.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/jeffvli/feishin
|
||||
arch = x86_64
|
||||
@ -11,9 +11,9 @@ pkgbase = feishin-bin
|
||||
conflicts = feishin
|
||||
source = feishin.desktop
|
||||
sha256sums = ef112b1a9ef80d8bf27f721fdbb12de0a195da4e464dbf27282503ba398bef8d
|
||||
source_x86_64 = https://github.com/jeffvli/feishin/releases/download/v0.7.3/Feishin-0.7.3-linux-x64.tar.xz
|
||||
sha256sums_x86_64 = 323b52f68e126b4681fd651b8a6a220d1cd6cde621df3c56f5cf32b3b5231b58
|
||||
source_aarch64 = https://github.com/jeffvli/feishin/releases/download/v0.7.3/Feishin-0.7.3-linux-arm64.tar.xz
|
||||
sha256sums_aarch64 = d89830232f50419355e8de27df0082f25fb25dd54086a5ccdd258e7fbdfd9cea
|
||||
source_x86_64 = https://github.com/jeffvli/feishin/releases/download/v0.9.0/Feishin-0.9.0-linux-x64.tar.xz
|
||||
sha256sums_x86_64 = 07e3ebb582bd71862ef884e68a6df63b32ef1c560e725722bb819989d0ba87d2
|
||||
source_aarch64 = https://github.com/jeffvli/feishin/releases/download/v0.9.0/Feishin-0.9.0-linux-arm64.tar.xz
|
||||
sha256sums_aarch64 = 434aff612921d059f00a37e9253d29a6df0cced58409681c252327d3f668a70a
|
||||
|
||||
pkgname = feishin-bin
|
||||
|
40
PKGBUILD
40
PKGBUILD
@ -2,7 +2,7 @@
|
||||
|
||||
pkgname=feishin-bin
|
||||
pkgdesc='Rewrite of Sonixd'
|
||||
pkgver=0.7.3
|
||||
pkgver=0.9.0
|
||||
pkgrel=1
|
||||
arch=('x86_64' 'aarch64')
|
||||
url='https://github.com/jeffvli/feishin'
|
||||
@ -15,25 +15,25 @@ source=("feishin.desktop")
|
||||
source_x86_64=("https://github.com/jeffvli/feishin/releases/download/v${pkgver//_/-}/${_filename}-x64.tar.xz")
|
||||
source_aarch64=("https://github.com/jeffvli/feishin/releases/download/v${pkgver//_/-}/${_filename}-arm64.tar.xz")
|
||||
sha256sums=('ef112b1a9ef80d8bf27f721fdbb12de0a195da4e464dbf27282503ba398bef8d')
|
||||
sha256sums_x86_64=('323b52f68e126b4681fd651b8a6a220d1cd6cde621df3c56f5cf32b3b5231b58')
|
||||
sha256sums_aarch64=('d89830232f50419355e8de27df0082f25fb25dd54086a5ccdd258e7fbdfd9cea')
|
||||
sha256sums_x86_64=('07e3ebb582bd71862ef884e68a6df63b32ef1c560e725722bb819989d0ba87d2')
|
||||
sha256sums_aarch64=('434aff612921d059f00a37e9253d29a6df0cced58409681c252327d3f668a70a')
|
||||
|
||||
package() {
|
||||
# create target file structure
|
||||
mkdir -p "$pkgdir/usr/bin"
|
||||
mkdir -p "$pkgdir/usr/share/"{feishin,pixmaps,applications}
|
||||
# HACK rename package correctly
|
||||
if [ $CARCH == "x86_64" ]; then
|
||||
mv ${_filename}-x64.tar.xz ${_filename}-$CARCH.tar.xz
|
||||
elif [ $CARCH == "aarch64" ]; then
|
||||
mv ${_filename}-arm64.tar.xz ${_filename}-$CARCH.tar.xz
|
||||
fi
|
||||
# extract files to target
|
||||
tar -xf ${_filename}-$CARCH.tar.xz -C "$pkgdir/usr/share/feishin" --strip-components=1
|
||||
# install icon
|
||||
install -Dm644 "$pkgdir/usr/share/feishin/resources/assets/icons/icon.png" "$pkgdir/usr/share/pixmaps/${pkgname%-bin}.png"
|
||||
# symlink executable to "/usr/bin/feishin"
|
||||
ln -s /usr/share/feishin/feishin "${pkgdir}/usr/bin/feishin"
|
||||
# install desktop entry
|
||||
install -Dm644 feishin.desktop "$pkgdir/usr/share/applications/"
|
||||
# create target file structure
|
||||
mkdir -p "$pkgdir/usr/bin"
|
||||
mkdir -p "$pkgdir/usr/share/"{feishin,pixmaps,applications}
|
||||
# HACK rename package correctly
|
||||
if [ $CARCH == "x86_64" ]; then
|
||||
mv ${_filename}-x64.tar.xz ${_filename}-$CARCH.tar.xz
|
||||
elif [ $CARCH == "aarch64" ]; then
|
||||
mv ${_filename}-arm64.tar.xz ${_filename}-$CARCH.tar.xz
|
||||
fi
|
||||
# extract files to target
|
||||
tar -xf ${_filename}-$CARCH.tar.xz -C "$pkgdir/usr/share/feishin" --strip-components=1
|
||||
# install icon
|
||||
install -Dm644 "$pkgdir/usr/share/feishin/resources/assets/icons/icon.png" "$pkgdir/usr/share/pixmaps/${pkgname%-bin}.png"
|
||||
# symlink executable to "/usr/bin/feishin"
|
||||
ln -s /usr/share/feishin/feishin "${pkgdir}/usr/bin/feishin"
|
||||
# install desktop entry
|
||||
install -Dm644 feishin.desktop "$pkgdir/usr/share/applications/"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user