initial commit for abra-git's aur package
This commit is contained in:
commit
0cf865e914
16
.SRCINFO
Normal file
16
.SRCINFO
Normal 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
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
pkg
|
||||
src
|
||||
go-abra
|
28
PKGBUILD
Normal file
28
PKGBUILD
Normal 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"
|
||||
}
|
Reference in New Issue
Block a user