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

pkgname=guile-zlib
pkgver=0.0.1
pkgrel=1
pkgdesc='Guile bindings for zlib'
arch=('x86_64' 'i686' 'armv7h')
url='https://notabug.org/guile-zlib/guile-zlib'
license=('GPL3')
depends=('guile' 'zlib')
source=("${pkgname}-${pkgver}.tar.gz::https://notabug.org/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('f1100be6dd31b02983cf498155bf11155ca833421f99698f29e5694317335fb1')

build() {
	cd "${srcdir}/${pkgname}"
	autoreconf -fi
	./configure --prefix=/usr
	make
}

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

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