summaryrefslogtreecommitdiff
path: root/community/ekg/PKGBUILD
blob: 5585c5fc869b6284e734dec680c60a634baf3004 (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
# $Id: PKGBUILD 94723 2013-07-29 16:25:52Z bpiotrowski $
# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com>

pkgname=ekg
pkgver=1.8rc2
pkgrel=1.2
pkgdesc="A text-mode Gadu-Gadu client"
arch=('i686' 'x86_64' 'mips64el')
url="http://ekg.chmurka.net/"
license=('GPL')
depends=('libjpeg' 'aspell' 'python2' 'giflib' 'libgadu')
source=(http://ekg.chmurka.net/$pkgname-$pkgver.tar.gz)
md5sums=('f697c711da91ddf57c882114539e92fe')

build() {
  cd $srcdir/$pkgname-$pkgver
  sed -i 's#gg%s#ekg%s#' src/ekg.c
  ./configure --prefix=/usr --with-pthread --enable-aspell --with-python
  make
}

package() {
  make DESTDIR=$pkgdir install
  rm -rf $pkgdir/usr/include $pkgdir/usr/lib
}