summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 88e78f38ff6e96c3804961e902479ef4a005d14c (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: Frederic Bezies < fredbezies at gmail dot com >
# Contributor: Cosku Bas <cosku.bas@gmail.com>

pkgname=objectively-git
pkgver=r597.517407e
pkgrel=1
pkgdesc="Ultra-lightweight object oriented framework for GNU C."
arch=('i686' 'x86_64')
url="https://github.com/jdolan/Objectively"
license=('zlib')

makedepends=('git' 'clang' 'autoconf' 'automake' 'check')

source=(git://github.com/jdolan/Objectively)
sha1sums=('SKIP')

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

build() {
	cd Objectively
	autoreconf -i
	./configure --prefix=/usr
	make
}

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