summaryrefslogtreecommitdiff
path: root/pcr/guile-json3/PKGBUILD
blob: 9ab1ba74137cafecf71732324b834f987753dfb6 (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
33
34
35
36
37
# Maintainer (AUR): Ting-Wei Lan <lantw44 at gmail dot com>
# Contributor (AUR): Thomas Koller-Cherek <tk120 at protonmail dot com>
# Contributor (AUR): holos
# Contributor (AUR): tantalum

# parabola changes and rationale:
#  no changes.

pkgname=guile-json3
_pkgname=guile-json
pkgver=3.4.0
pkgrel=1
pkgdesc='JSON module for Guile (Version 3)'
arch=('x86_64' 'i686' 'armv7h')
url='https://savannah.nongnu.org/projects/guile-json'
license=('GPL3')
depends=('guile')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
source=("https://download.savannah.gnu.org/releases/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha256sums=('716aad1efd445c68224381ebaff0bccf1d9f67afc84af470b0886364af9f5f76')

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

check(){
  cd "$_pkgname-$pkgver"
  make check
}

package() {
  cd "$_pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}