diff --git a/Makefile b/Makefile index 9162d044..0cf70fa4 100644 --- a/Makefile +++ b/Makefile @@ -21,4 +21,14 @@ tar: appimage: appimage-builder --recipe AppImageBuilder.yml\ - && mv Spotube-*-x86_64.AppImage build \ No newline at end of file + && 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 \ No newline at end of file diff --git a/aur-struct/.SRCINFO b/aur-struct/.SRCINFO index dcba3ab0..1c337594 100644 --- a/aur-struct/.SRCINFO +++ b/aur-struct/.SRCINFO @@ -6,6 +6,6 @@ pkgbase = spotube arch = x86_64 license = BSD 4-Clause source = https://github.com/KRTirtho/spotube/releases/download/v1.0.1/Spotube-linux-x86_64.tar.xz + md5sums = 44f79f93ddaf6f0c4e7d133d2fe34bde pkgname = spotube - diff --git a/aur-struct/PKGBUILD b/aur-struct/PKGBUILD index aa4b4e77..448fc3d9 100644 --- a/aur-struct/PKGBUILD +++ b/aur-struct/PKGBUILD @@ -19,7 +19,7 @@ backup=() options=() install= 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=() md5sums=(44f79f93ddaf6f0c4e7d133d2fe34bde) validpgpkeys=()