summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fffe078e0785fb09e0b91f88c9a82867cfe19c96 (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.54.3.g2c55602
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
}