summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4840ae57ac3017acd59a012adb6fe8ab091a6b69 (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: richteer <richteer at lastprime.net>

pkgname=profanity-git
_pkgname=profanity
pkgver=4170.56751e8
pkgrel=1
pkgdesc="A console based jabber client."
arch=('i686' 'x86_64')
url="http://www.profanity.im"
license=('GPL3')
depends=('curl' 'expat' 'libnotify' 'libotr' 'libxss' 'libstrophe-git')
makedepends=('git')
provides=('profanity')
conflicts=('profanity')
source=("$_pkgname::git://github.com/boothj5/profanity.git#branch=master")
sha256sums=('SKIP')

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

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

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