aur-struct created

This commit is contained in:
KRTirtho 2021-05-25 22:49:23 +06:00
parent 0d7df079f1
commit a493e2bc9a
3 changed files with 16 additions and 8 deletions

5
.gitignore vendored
View File

@ -12,3 +12,8 @@ deb-struct/usr/share/applications
deploy/linux/build
deploy/win32/build
deploy/darwin/build
# aur build specific
aur-struct/src
aur-struct/pkg
aur-struct/*.zip*
aur-struct/*.zst

View File

@ -1,10 +1,5 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: KRTirtho <krtirho@gmail.com>
pkgname=spotube-bin
pkgname=spotube
pkgver=0.0.3
pkgrel=1
epoch=
@ -22,9 +17,17 @@ conflicts=()
replaces=()
backup=()
options=()
install=./install.sh
install=
changelog=
source=("$url/releases/download/v$pkgver/Spotube_linux-x86_64-v$pkgver.zip")
noextract=()
md5sums=(ae9c6cbbe97f6dcc15a7c7dc86091174)
validpgpkeys=()
package(){
install -dm755 "${pkgdir}/usr/share/${pkgname}"
install -dm755 "${pkgdir}/usr/bin"
cp -ra ./ "${pkgdir}/usr/share/${pkgname}"
cp ./spotube.desktop ~/.local/share/applications
ln -s "/usr/share/${pkgname}/qode" "${pkgdir}/usr/bin/${pkgname}"
}