summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3724235f640ddb6158c0af8e1039cfd98121f1c1 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Maintainer: salosh <support[at]salosh[dot]org>

_name="jockey"
pkgbase="$_name"
pkgname=("$pkgbase")
pkgver=0.0.1
pkgrel=1
epoch=5
pkgdesc="Data J0ckey"
arch=(any)
url="https://github.com/salosh/jockey.git"
license=('MIT')
groups=()
depends=('go')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
noextract=()
md5sums=()
validpgpkeys=()

source=("jockey::git+https://github.com/salosh/jockey.git")
sha512sums=('SKIP')
b2sums=('SKIP')

build() {
  echo "bin: ${pkgdir}/usr/bin/jockey"
}

package_jockey() {
  echo '#!/usr/bin/jockey' > "${srcdir}/jockey.sh"
  mkdir -p "${pkgdir}/usr/bin"
  cp "${srcdir}/jockey.sh" "${pkgdir}/usr/bin/jockey.sh"
  chmod +x "${pkgdir}/usr/bin/jockey.sh"
}