summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c795e0890d0898f764c45ebf92836666a2472f49 (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.7.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=('8a90baecc33c3df5c8715e3a1c4fbe19e9f1e0132d791972917be2d43aae294f')

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
}