summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d37325219529f3b40237e71e84f8db19c64affda (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>
# Contributor: 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: