summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5b62904d216badbb76543e68d3c8fe9023702de8 (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.2.0_5_gcb397c1
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
}