summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c16ef0b6779c22b28b2c2a09d3e3b54373424a34 (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
# Maintainer: KikooDX <kikoodx@paranoici.org>
# Based on bashmount-git package maintened by caltlgin

_pkgname='cazy'
pkgname="${_pkgname}-git"
pkgver=r5.cabf574
pkgrel=1
pkgdesc='Tool to build and transfer Casio add-ins using gint and fxsdk.'
arch=('any')
url='https://gitea.planet-casio.com/KikooDX/cazy'
license=('0BSD')
depends=('bash')
makedepends=('git')
optdepends=('gint-devel-git')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
#backup=("etc/${_pkgname}.conf")
source=("git+${url}.git")
sha256sums=('SKIP')

pkgver() {
  cd "${_pkgname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "${_pkgname}"
  install -Dm755 -t "${pkgdir}/usr/bin" "${_pkgname}"
  install -Dm644 -t "${pkgdir}/usr/share/doc/${_pkgname}" 'README.md'
}

# vim: ts=2 sw=2 et: