summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 98410a3d29da45b6af096ca484d3332ef682f0ac (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
36
37
38
39
40
41
42
43
44
45
46
# Maintainer: /dev/rs0 </dev/rs0@secretco.de.com>
# Contributor: Conrad Nelson <yaro@marupa.net>

pkgname=kildclient-git
pkgver=r1359.1103a2d
pkgrel=1
pkgdesc="A powerful MUD client written for GTK+ and support for Perl."

arch=('i686' 'x86_64')
url="http://kildclient.sourceforge.net"
license=('GPL')

replaces=('kildclient')
conflicts=('kildclient')
provides=('kildclient=3.0.1')

makedepends=('git')
depends=('gtk3' 'libglade' 'gtkspell3' 'perl-locale-gettext' 'perl-json' 'perl-xml-libxml')
source=('kildclient::git+http://git.code.sf.net/p/kildclient/git')
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/kildclient"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
  cd "${srcdir}/kildclient"

  ./autogen.sh
  ./configure \
    --prefix=/usr \
    --with-gtkspell \
    --with-libgnutls \
    --with-docs
}

build() {
  cd "${srcdir}/kildclient"  
  make || return 1
}

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