summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7dba18cebade0547f24a495101b0457687f0e7c6 (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
# Maintainer: doragasu: doragasu <yawn> hotmail <roll> com

_basename=protobuf-c-rpc
pkgname=${_basename}-git
pkgver=292.07fed6d
pkgver() {
	cd ${_basename} || exit
	echo "$(git rev-list --count master).$(git rev-parse --short master)"
}
pkgrel=2
pkgdesc="This is protobuf-c-rpc, a library for performing RPC with protobuf-c."
arch=('i686' 'x86_64')
url="https://github.com/protobuf-c/${_basename}"
license=('BSD')
depends=('protobuf-c')

source=("git+https://github.com/protobuf-c/${_basename}")
md5sums=('SKIP')

build() {
	cd "${srcdir}/${_basename}"
	./autogen.sh && \
	./configure --prefix=/usr && \
	make
}

package() {
	cd "${srcdir}/${_basename}"
	DESTDIR=${pkgdir} make install
}