summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e6341c4f39f487a66207cdfcbe5a76408990c88c (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: lantw44 (at) gmail (dot) com

pkgname=guile-avahi
pkgver=0.4
pkgrel=1
pkgdesc='Avahi bindings for GNU Guile'
arch=('x86_64' 'i686' 'armv7h')
url='https://www.nongnu.org/guile-avahi'
license=('LGPL3')
depends=('guile' 'avahi' 'gmp')
source=("https://download.savannah.nongnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('9dcc2810058cc87d8fa81a1fa8eb7a3892b2cc0a8786fb16fe88d260aa0ba669')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	# Regenerate configure to allow using Guile < 3.
	autoreconf -fi
	./configure --prefix=/usr \
		--with-guilemoduledir=/usr/share/guile/site/2.2 \
		--disable-rpath
	make
}

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

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