This commit is contained in:
parent
6232fdb8c5
commit
3e01db590b
6
Makefile
6
Makefile
@ -1,5 +1,11 @@
|
|||||||
BINARY_NAME=gospt
|
BINARY_NAME=gospt
|
||||||
|
|
||||||
|
hashes: build
|
||||||
|
sha256sum bin/gospt
|
||||||
|
|
||||||
|
srcinfo:
|
||||||
|
cd aur && makepkg --printsrcinfo > .SRCINFO
|
||||||
|
|
||||||
build:
|
build:
|
||||||
GOARCH=amd64 GOOS=linux go build -o bin/${BINARY_NAME} main.go
|
GOARCH=amd64 GOOS=linux go build -o bin/${BINARY_NAME} main.go
|
||||||
|
|
||||||
|
13
aur/.SRCINFO
Normal file
13
aur/.SRCINFO
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
pkgbase = gospt
|
||||||
|
pkgdesc = Spotify TUI and CLI written in Go
|
||||||
|
pkgver = 0.0.1
|
||||||
|
pkgrel = 1
|
||||||
|
epoch = 1
|
||||||
|
url = https://gitea.asdf.cafe/abs3nt/gospt
|
||||||
|
arch = x86_64
|
||||||
|
arch = amd64
|
||||||
|
license = GPL
|
||||||
|
source = https://gitea.asdf.cafe/abs3nt/gospt/releases/download/v0.0.1/gospt
|
||||||
|
sha256sums = dfacda14f86f51deac5fb8da9a158fa5854de1306edcebf0a8ed46903a06f54d
|
||||||
|
|
||||||
|
pkgname = gospt
|
20
aur/PKGBUILD
Normal file
20
aur/PKGBUILD
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Maintainer: abs3nt <abs3nt@asdf.cafe>
|
||||||
|
pkgname="gospt"
|
||||||
|
pkgver=0.0.1
|
||||||
|
pkgrel=1
|
||||||
|
epoch=1
|
||||||
|
pkgdesc="Spotify TUI and CLI written in Go"
|
||||||
|
arch=("x86_64" "amd64")
|
||||||
|
url="https://gitea.asdf.cafe/abs3nt/gospt"
|
||||||
|
license=('GPL')
|
||||||
|
depends=()
|
||||||
|
source=(
|
||||||
|
"https://gitea.asdf.cafe/abs3nt/gospt/releases/download/v${pkgver}/gospt"
|
||||||
|
)
|
||||||
|
sha256sums=(
|
||||||
|
'dfacda14f86f51deac5fb8da9a158fa5854de1306edcebf0a8ed46903a06f54d'
|
||||||
|
)
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -Dm755 gospt "${pkgdir}"/usr/bin/gospt
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user