summaryrefslogtreecommitdiff
path: root/community/guile-git/APKBUILD
blob: 7562c1801b5c7125f141fdd8e333aa61fae22337 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=guile-git
pkgver=0.5.2
pkgrel=1
pkgdesc="Guile bindings of libgit2"
url="https://gitlab.com/guile-git/guile-git"
arch="all"
license="GPL-3.0-or-later"
depends="guile guile-bytestructures libgit2-dev"
makedepends="autoconf automake guile-dev zlib-dev texinfo"
checkdepends="openssh-server openssh-client"
subpackages="$pkgname-doc"
options="!strip" # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907061
source="https://gitlab.com/guile-git/guile-git/-/archive/v$pkgver/guile-git-v$pkgver.tar.bz2
	0001-Improve-compatibility-with-libgit2.patch
	0002-Add-sanitycheck-utility-to-ensure-libgit2-compatibil.patch

	skip-ssh-tests.patch"
builddir="$srcdir/$pkgname-v$pkgver"

prepare() {
	default_prepare
	autoreconf -vfi
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make sanitycheck
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
905e03323a65bd057a50fc75265446407b9b6263852d3fa947a261d66b00ded2965bdb883ec8585c4748a28a1e0ce762a41511004a69fd1b1649c4146703278c  guile-git-v0.5.2.tar.bz2
85653195a492c8d857371f4b54453a75b528af2db5bad839bd80c2e29054dafaffc2a26bed077b8563ea3a49c505eb367c674b373ccd42c1957f14c35aa7ba13  0001-Improve-compatibility-with-libgit2.patch
5c6225ca7a8b559c68ca2a78cf8a722951913fa51b6a65d86a80db43b03744b978b79e0f18a830c46b4d3326a1258b6530550389f7a5ada41c02c814f1b25ee2  0002-Add-sanitycheck-utility-to-ensure-libgit2-compatibil.patch
c06974da410781544afc108689c310c1ce2230da369f2fa03b5c5c49ca3f04ac456db0c3462cebac9324ad8d88a761f36e50c35a44c104f91fe495fc4dbd783e  skip-ssh-tests.patch
"