summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aeebedd063c826452211029e44f8815413d20de7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

# Maintainer: Prasanth Baskar <bupdprasanth@gmail.com
# Lakshmanan lakshmanoni1234@gmail.com
pkgname=git-donkey
pkgver=1.0.0
pkgrel=2
pkgdesc="A Donkey Don to help you manage your local git branches/repositories."
arch=('x86_64')
url="https://github.com/bupd/git-donkey"
license=('MIT')
depends=('git')
makedepends=('go') # Required to build Go projects
source=("git-donkey::git+https://github.com/bupd/git-donkey.git")
sha256sums=('SKIP')

build() {
    cd "$srcdir/$pkgname"
    go build -o "$pkgname" # Build the binary
}

package() {
    cd "$srcdir/$pkgname"
    install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname" # Install the binary
}