summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 54bb640a67d3558de5b37b71b3fdb726f656f6e5 (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
# Maintainer: Patrick McCarty <pnorcks at gmail dot com>
# Contributor: Andrew Whatson <whatson@gmail.com>

pkgname=guile-curl
pkgver=0.9
pkgrel=2
pkgdesc='A GNU Guile library for client-side URL transfers based on libcurl'
arch=('x86_64')
license=('GPL-3.0-or-later')
depends=('guile' 'curl')
url="https://github.com/spk121/guile-curl"
source=("https://github.com/spk121/guile-curl/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('d241f27c2a6d2ac768ce1ae64fd27e6854b34ace6ce35ce810fb41a2a7b20ed6')

build() {
  cd "$pkgname-$pkgver"
  autoreconf -fiv
  ./configure --prefix=/usr --enable-silent-rules
  make
}

check() {
  cd "$pkgname-$pkgver"
  make -k check
}

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