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

pkgname=guile-avahi
pkgver=0.4.1
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=('db9de9e19df728b40d23c0381caa9f8eda2b175fa7f69f153be8f3f078044ca5')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	./configure --prefix=/usr \
		--with-guilemoduledir=/usr/share/guile/site/3.0 \
		--disable-rpath
	make
}

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

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