summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: df8b70d91c3fff60c47418e64aebcafd2842b29c (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
# Maintainer: j.r <j.r@jugendhacker.de>
_pkgname=buteo
pkgname=$_pkgname-git
pkgver=r1.39dcd65
pkgrel=1
pkgdesc="A XMPP based Groupware application"
arch=('x86_64' 'i686')
url="https://buteo.codeberg.page/"
license=('GPL3')
depends=('libstrophe' 'glib2' 'gpgme' 'gtk3' 'libvc')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname" 'eagle-xmpp-git')
replaces=('eagle-xmpp-git')
source=("$_pkgname::git+https://codeberg.org/buteo/buteo.git")
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/$_pkgname"

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

build() {
	cd "$srcdir/$_pkgname"
	./bootstrap.sh
	./configure --prefix=/usr
	make
}

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