summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5090797ab141f16582a32528c412f2a374b396f2 (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
# Maintainer: Justin Gross <jgross.biz@gmail.com>

pkgname=pidgin-mam-git
pkgver=2.11.0.1.r1.g3f338ce
pkgrel=2
pkgdesc="Pidgin with Message Archive Management support"
arch=(i686 x86_64)
url="https://github.com/CkNoSFeRaTU/pidgin"
license=('GPL2')
depends=('startup-notification' 'gtkspell' 'libxss' 'libsm' 'gst-plugins-base' 'gst-plugins-good' 'hicolor-icon-theme')
optdepends=('aspell: for spelling correction')
makedepends=('git' 'intltool' 'tcl')
conflicts=('pidgin' 'libpurple')
provides=('pidgin' 'libpurple')
source=("pidgin-mam-git::git+https://github.com/CkNoSFeRaTU/pidgin")
md5sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$srcdir/$pkgname"
  autoreconf -f -i
  ./configure --disable-meanwhile --disable-tk --enable-gnutls=yes --prefix=/usr
  make
}

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