summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 47240394a4d8c2f36059a273d3f90a71454241a8 (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: blacktea <blackteahamburger@outlook.com>
# Maintainer: Javier TiĆ” <javier dot tia at gmail dot com>

pkgname=bic
pkgver=1.0.0
pkgrel=1
pkgdesc='A C interpreter and API explorer'
arch=('i686' 'x86_64')
url='https://github.com/hexagonal-sun/bic'
makedepends=('gcc' 'automake' 'expect' 'flex' 'autoconf' 'm4' 'libtool' 'readline' 'pkgconf' 'gmp' 'autoconf-archive' 'bison')
license=('GPL2')
source=("${url}/archive/v${pkgver}.tar.gz")
sha256sums=('fa5b9e3ffc955220ab825a749f1987a7a0bd268693c1750a1af6cc1802217547')

prepare() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  autoreconf -i
}

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}/"
  make DESTDIR="${pkgdir}" install
  install -D -m 0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

# vim:set ts=2 sw=2 et: