Added PKGBUILD for package
This commit is contained in:
parent
582eaf6e48
commit
57de52ec81
30
PKGBUILD
Normal file
30
PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
# Maintainer: Nicholas Novak <nicholasmnovak@gmail.com>
|
||||
|
||||
pkgname=assign-notify
|
||||
pkgver=r2.582eaf6
|
||||
pkgrel=1
|
||||
pkgdesc="Assignment Notifier CLI"
|
||||
arch=('any')
|
||||
makedepends=('git')
|
||||
provides=('assign-notify')
|
||||
depends=('go')
|
||||
url="https://gitlab.nicholasnovak.io/nnovak/assign-notify"
|
||||
source=(
|
||||
"assign-notify::git+ssh://git@ssh-gitlab.nicholasnovak.io:1022/nnovak/assign-notify.git"
|
||||
)
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/assign-notify"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/assign-notify"
|
||||
go build .
|
||||
}
|
||||
|
||||
package() {
|
||||
# Install the binary
|
||||
install -vDm 755 "$srcdir/assign-notify/$pkgname" "$pkgdir/usr/bin/$pkgname"
|
||||
}
|
Loading…
Reference in New Issue
Block a user