blob: cbe8c0df5fdcacdfc88842ea1e14b42b656bd18c (
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
|
# Maintainer: grufo <madmurphy333 AT gmail DOT com>
_framework='gnunet'
_module='libgnunetchat'
pkgname="${_module}-git"
pkgver='r19.c18988a'
pkgrel=1
pkgdesc='GNUnet chat library'
arch=('i686' 'x86_64')
url="http://${_framework}.org"
license=('AGPL')
conflicts=("${_module}" "${_module}-bin")
provides=("${_module}")
depends=("${_framework}")
options=('!makeflags' '!buildflags')
source=("git+https://${_framework}.org/git/${_module}.git")
sha256sums=('SKIP')
pkgver() {
cd "${_module}"
printf "'r%s.%s'" \
"$(git rev-list --count HEAD)" \
"$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_module}"
make
}
package() {
cd "${srcdir}/${_module}"
install -dm755 "${pkgdir}/usr"
install -dm755 "${pkgdir}/lib"
install -dm755 "${pkgdir}/include/gnunet"
make INSTALL_DIR="${pkgdir}/" install
mv "${pkgdir}/include" "${pkgdir}/usr"
mv "${pkgdir}/lib" "${pkgdir}/usr"
}
|