summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 88d443dafc994f471e712033a0240d09bcd1230c (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
35
# Maintainer: Frederik Schwan <freswa at archlinux dot org>
# Contributor: richteer <richteer at lastprime.net>

pkgname=profanity-git
pkgver=6749.4e956410
pkgrel=1
pkgdesc="A console based jabber client."
arch=('i686' 'x86_64')
url="http://profanity-im.github.io"
license=('GPL3')
depends=('curl' 'expat' 'libgcrypt' 'libnotify' 'libotr' 'libxss' 'libsignal-protocol-c'
          'gpgme' 'libstrophe-git')
makedepends=('git' 'autoconf-archive')
provides=('profanity')
conflicts=('profanity')
source=("git+https://github.com/profanity-im/profanity.git#branch=master")
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}"/${pkgname%-git}
  echo $(git rev-list --count master).$(git rev-parse --short master)
}

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

package() {
  cd "${srcdir}"/${pkgname%-git}
  make DESTDIR="$pkgdir" install
}