summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8bbbefe480592a25ef053bc0e6677f7e79616665 (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: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: lantw44 (at) gmail (dot) com

pkgname=guile-git-lib
_pkgname=guile-git
pkgver=0.9.0
pkgrel=1
pkgdesc='Guile bindings for libgit2'
arch=('x86_64' 'i686' 'armv7h')
url="https://gitlab.com/guile-git/guile-git"
license=('GPL3')
depends=('guile' 'guile-bytestructures' 'libgit2>=1.3.0')
makedepends=('git')
source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/${_pkgname}/${_pkgname}/-/archive/v${pkgver}/${_pkgname}-v${pkgver}.tar.gz")
sha256sums=('5b822e10f5ed4dbc5cd452694e1d6ea0670f4f95e2922dad150f909f0a0a5ff8')

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

#check() {
#	cd "${srcdir}/${_pkgname}-v${pkgver}"
#	make check
#}

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