initial commit for abra-git's aur package

This commit is contained in:
Roxie Gibson 2021-08-11 17:01:45 +01:00
commit 0cf865e914
Signed by untrusted user: roxxers
GPG Key ID: 5D0140EDEE123F4D
3 changed files with 47 additions and 0 deletions

16
.SRCINFO Normal file
View File

@ -0,0 +1,16 @@
pkgbase = abra-git
pkgdesc = The Co-op Cloud command-line interface 🎩🐇
pkgver = r181.edd0b1e
pkgrel = 1
url = https://git.coopcloud.tech/coop-cloud/go-abra
arch = x86_64
arch = i686
arch = aarch64
license = MIT
makedepends = git
makedepends = go
makedepends = make
source = git+https://git.coopcloud.tech/coop-cloud/go-abra
md5sums = SKIP
pkgname = abra-git

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
pkg
src
go-abra

28
PKGBUILD Normal file
View File

@ -0,0 +1,28 @@
# Maintainer: Roxie Gibson <me@roxanne.dev>
pkgname=abra-git
pkgver=r181.edd0b1e
pkgrel=1
pkgdesc="The Co-op Cloud command-line interface 🎩🐇"
arch=("x86_64" "i686" "aarch64")
makedepends=("git" "go" "make")
url="https://git.coopcloud.tech/coop-cloud/go-abra"
license=('MIT')
source=("git+${url}")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/go-abra"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/go-abra";
make build;
}
package() {
mkdir -p "$pkgdir/usr/bin"
install -p -m755 "$srcdir/go-abra/abra" "$pkgdir/usr/bin"
#install -Dm644 "$srcdir/go-abra/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}