diff --git a/Makefile b/Makefile index 04c4af0..40b0c06 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,11 @@ BINARY_NAME=gospt +hashes: build + sha256sum bin/gospt + +srcinfo: + cd aur && makepkg --printsrcinfo > .SRCINFO + build: GOARCH=amd64 GOOS=linux go build -o bin/${BINARY_NAME} main.go diff --git a/aur/.SRCINFO b/aur/.SRCINFO new file mode 100644 index 0000000..bd95ec3 --- /dev/null +++ b/aur/.SRCINFO @@ -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 diff --git a/aur/PKGBUILD b/aur/PKGBUILD new file mode 100644 index 0000000..582cba4 --- /dev/null +++ b/aur/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: abs3nt +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 +} diff --git a/m b/m new file mode 100644 index 0000000..d2e759a --- /dev/null +++ b/m @@ -0,0 +1,10 @@ +.SILENT: release + +pkgver=0.0.2 + +hashes: + sha256sum potatoe + sha256sum quotes.txt + +srcinfo: + cd aur && makepkg --printsrcinfo > .SRCINFO