summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 685d6e6685733fd5791a294abec88721bb59da0e (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
# Maintainer: Benjamin Voisin <benjamin.voisin@ens-rennes.fr>
pkgname=croco_dc-git
pkgver=latest
pkgrel=2
pkgdesc="A crocodile replacement of sl"
arch=('x86_64')
url="https://gitlab.com/TomSoucies/croco_dc"
groups=()
depends=('ncurses')
makedepends=('git')
replaces=('sl')
source=(${pkgname}::git+https://gitlab.com/TomSoucies/croco_dc.git)
sha256sums=('SKIP')

build() {
  cd "$pkgname/src"
  make
}

package() {
  cd "$pkgname/src"
  mkdir -p $pkgdir/usr/bin
  cp ./sl $pkgdir/usr/bin/
}