summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3301d273957e8887c700c377fefaf2750f83b68f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=picoc-git
pkgver=2.2
pkgrel=2
pkgdesc="A very small C interpreter for scripting."
arch=('x86_64')
url="https://gitlab.com/zsaleeba/picoc"
license=('GPL')
source=("git+https://gitlab.com/zsaleeba/picoc.git")
options=('!buildflags')
md5sums=('SKIP')
 
build() {
  cd "${srcdir}/picoc"
  sed -i.bak 's/-DVER.*$//' Makefile
  make
}
 
package() {
  cd "${srcdir}/picoc"
  install -D picoc "$pkgdir/usr/bin/picoc"
}