summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d5fd5bd7ad4f0a4d8591ff626f62b6d0e94bda5 (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
# Maintainer: Yatis <yann.magnin@epitech.eu>
_basename="blih_cli"
_branch="master"

pkgname="blih_cli-git"
pkgdesc="(dev version) Blih CLI (say blikli) is the Blih (Bocal Lightweight Interface for Humans) Js CLI (Command-Line Interface) for linux env."
pkgver=1.0.1
pkgrel=2

arch=('i686' 'x86_64')
source=("${pkgname}::git+https://github.com/GreenDjango/${_basename}.git#branch=${_branch}")
depends=('nodejs' 'npm')
options=("!strip")
sha256sums=("SKIP")

pkgver() {
  cd "${pkgname}" || exit
  git show --format=\"%H\" --no-patch | git describe --tags | sed 's/v//' | sed 's/-/_/g'
}
build() {
  return 0
}
package() {
  cd "${pkgname}" || exit

  sudo sh ./install.sh
  return 0
}