summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..df8b70d91c3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}