summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e6d34ff710c7d7ab402fbe3a612792e2ea269f8d (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
# Maintainer: Joss Wright (joss-arch@pseudonymity.net)
# Please contact me at the above or comment at the AUR
# if you have any issues.

pkgname=centerim5-git
pkgver=git
pkgrel=1
pkgdesc="CenterIM5 - An ncurses based terminal chat client - git development version" 
arch=('i686' 'x86_64')
url="http://centerim.org/"
license=('GPL')
depends=('python2' 'libjpeg' 'gpgme' 'libpurple' 'ncurses' 'libsigc++')
makedepends=('ca-certificates')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
options=('!libtool')
source=('git+ssh://mob@repo.or.cz/srv/git/centerim5.git#branch=mob')
sha256sums=('SKIP')

pkgver() {

	# Get the tag of the latest commit
	cd ${pkgname%-*} 
	git describe --always | sed 's/-/./g'

}

build() {
	
	cd ${pkgname%-*}
	msg "Starting make..."

	./bootstrap
	./configure --prefix=/usr

	make

}

package() {

	cd ${pkgname%-*}
	make DESTDIR="$pkgdir" install

}