summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 26dacdbff2cb3d25e7acafdeb0c39e2965af7c76 (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
# Maintainer: grufo <madmurphy333 AT gmail DOT com>

_mainapp='gnunet'
_extname='secushare'
_appname="${_mainapp}-${_extname}"
pkgname="${_appname}-git"
pkgver='r5.245de27'
pkgrel=1
pkgdesc="Experimental code for SecuShare (PSYC on top of GNUnet's cryptographic routing)"
arch=('any')
url="https://secushare.org"
license=('GPL')
provides=("${_appname}")
conflicts=("${_appname}")
depends=("${_mainapp}")

source=("git+https://gnunet.org/git/${_appname}.git")

md5sums=('SKIP')

pkgver() {

	cd "${_appname}"
	printf "'r%s.%s'" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

}

build() {

	cd "${srcdir}/${_appname}"
	./bootstrap
	./configure --prefix=/usr
	make

}

package() {

	cd "${srcdir}/${_appname}"
	make DESTDIR="${pkgdir}" install

}