commit 04326fa325b7310dbab02a62cd2e04c1ad5770ee Author: RealStickman Date: Wed May 10 20:23:10 2023 +0200 0.0.1-alpha6 Version 0.0.1-alpha6 diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..e41d0f8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = feishin-bin + pkgdesc = Rewrite of Sonixd + pkgver = 0.0.1_alpha6 + pkgrel = 1 + url = https://github.com/jeffvli/feishin + arch = x86_64 + license = GPL3 + depends = mpv + provides = feishin + conflicts = feishin + source = feishin.desktop + source = https://github.com/jeffvli/feishin/releases/download/v0.0.1-alpha6/Feishin-0.0.1-alpha6-linux-x64.tar.xz + sha256sums = bb664e5e807946fce7d02f14231f8830fac146b4d6641165b2e7cae7eeb1839f + sha256sums = 1bf6711f964566a77061911d5f0e155f3e99a4b2d51e469bbf4f6e2dc74c9b84 + +pkgname = feishin-bin diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..af76f65 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/Feishin-0.0.1-alpha6-linux-x64.tar.xz +/feishin-bin-0.0.1_alpha6-1-x86_64.pkg.tar.zst +/pkg/ +/src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..e8c61db --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: RealStickman + +pkgname=feishin-bin +pkgdesc='Rewrite of Sonixd' +pkgver=0.0.1_alpha6 +pkgrel=1 +arch=('x86_64') +url='https://github.com/jeffvli/feishin' +license=('GPL3') +depends=('mpv') # TODO check node requirements +provides=("${pkgname%-bin}") +conflicts=("${pkgname%-bin}") +_filename=Feishin-${pkgver//_/-}-linux-x64.tar.xz +source=("feishin.desktop" + "https://github.com/jeffvli/feishin/releases/download/v${pkgver//_/-}/${_filename}") +sha256sums=('bb664e5e807946fce7d02f14231f8830fac146b4d6641165b2e7cae7eeb1839f' + '1bf6711f964566a77061911d5f0e155f3e99a4b2d51e469bbf4f6e2dc74c9b84') + +package() { + # create target file structure + mkdir -p "$pkgdir/usr/bin" + mkdir -p "$pkgdir/usr/share/"{feishin,pixmaps,applications} + # extract files to target + tar -xf ${_filename} -C "$pkgdir/usr/share/feishin" --strip-components=1 + # install icon + install -Dm644 "$pkgdir/usr/share/feishin/resources/assets/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/" +} diff --git a/feishin.desktop b/feishin.desktop new file mode 100644 index 0000000..37a183f --- /dev/null +++ b/feishin.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Feishin +Comment=Rewrite of Sonixd +Exec=/usr/bin/feishin +Icon=feishin +Terminal=false +Categories=Network;