summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d976195065e7ee7a8399515b1a98149dac714871 (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
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
pkgname='irssi-xmpp-git'
pkgdesc='irssi plugin to connect to the Jabber network (cdidier version)'
pkgver=v0.53.3.g6155e0f
pkgrel=1
arch=('arm' 'armv6h' 'armv7h' 'i686' 'x86_64')
license=('GPL2')
url="https://github.com/cdidier/irssi-xmpp"
depends=('loudmouth' 'irssi')
makepdends=('pkg-config')
conflicts=('irssi-xmpp-cvs' 'irssi-xmpp')
provides=('irssi-xmpp')
source=("${pkgname}::git+${url}")
sha512sums=('SKIP')

pkgver () {
	cd "${pkgname}"
	git describe --long --tags | sed -r 's/^REL0(.*)$/r0.\1/;y/-/./'
}

build () {
	cd "${pkgname}"
	make PREFIX=/usr IRSSI_INCLUDE=/usr/include/irssi
}

package () {
	cd "${pkgname}"
	make PREFIX=/usr DESTDIR="${pkgdir}" install
}