publish to AUR script added

PKGBUILD refined with  appropriate .SRCINFO
This commit is contained in:
Kingkor Roy Tirtho 2022-01-15 17:53:05 +06:00
parent 4f8a3a5b08
commit 498a069ceb
3 changed files with 13 additions and 3 deletions

View File

@ -22,3 +22,13 @@ tar:
appimage: appimage:
appimage-builder --recipe AppImageBuilder.yml\ appimage-builder --recipe AppImageBuilder.yml\
&& mv Spotube-*-x86_64.AppImage build && mv Spotube-*-x86_64.AppImage build
publishaur:
echo '[Warning!]: you need SSH paired with AUR'\
&& rm -rf build/spotube\
&& git clone ssh://aur@aur.archlinux.org/spotube.git build/spotube\
&& cp aur-struct/PKGBUILD aur-struct/.SRCINFO build/spotube\
&& cd build/spotube\
&& git add .\
&& git commit -m "${MSG}"\
&& git push

View File

@ -6,6 +6,6 @@ pkgbase = spotube
arch = x86_64 arch = x86_64
license = BSD 4-Clause license = BSD 4-Clause
source = https://github.com/KRTirtho/spotube/releases/download/v1.0.1/Spotube-linux-x86_64.tar.xz source = https://github.com/KRTirtho/spotube/releases/download/v1.0.1/Spotube-linux-x86_64.tar.xz
md5sums = 44f79f93ddaf6f0c4e7d133d2fe34bde
pkgname = spotube pkgname = spotube

View File

@ -19,7 +19,7 @@ backup=()
options=() options=()
install= install=
changelog= changelog=
source=("https://github.com/KRTirtho/spotube/releases/download/v${version}/Spotube-linux-x86_64.tar.xz") source=("https://github.com/KRTirtho/spotube/releases/download/v${pkgver}/Spotube-linux-x86_64.tar.xz")
noextract=() noextract=()
md5sums=(44f79f93ddaf6f0c4e7d133d2fe34bde) md5sums=(44f79f93ddaf6f0c4e7d133d2fe34bde)
validpgpkeys=() validpgpkeys=()