summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a08c4f86fbbb5802a944fd5afdd66995125665c4 (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
#Maintainer: Iru Cai <mytbk920423@gmail.com>

pkgname='pidgin-otrng-git'
_pkgname='pidgin-otrng'
pkgver=694.232fc65
pkgrel=1
pkgdesc='a pidgin plugin which implements Off-the-Record (OTRv4) Messaging'
arch=('i686' 'x86_64')
url='https://github.com/otrv4/pidgin-otrng'
license=('GPL2')
depends=('pidgin' 'libotr-ng-git' 'perl-xml-parser')
makedepends=('intltool')
source=('git+https://github.com/otrv4/pidgin-otrng.git')
sha256sums=('SKIP')

build() {
	cd "${srcdir}/${_pkgname}"

	intltoolize --force --copy
	autoreconf -s -i
	./configure --prefix=/usr --enable-debug=no
	make
}

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

pkgver() {
	cd "${srcdir}/${_pkgname}"
	echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}