summaryrefslogtreecommitdiff
path: root/extra/libzvt/PKGBUILD
blob: 4c7c92cd06c0ec14475ed36316395664972b3ac4 (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
# $Id: PKGBUILD 63415 2010-01-17 13:52:38Z jgc $
# Contributor: Tobias Kieslich <tobias@justdreams.de>
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libzvt
pkgver=2.0.1
pkgrel=6
pkgdesc="Zed's virtual terminal library"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
url="http://ftp.gnome.org/pub/GNOME/sources/libzvt"
depends=('gtk2>=2.18.6' 'libart-lgpl>=2.3.20')
makedepends=('pkgconfig')
options=('!libtool')
source=(ftp://ftp.gnome.org/pub/GNOME/sources/libzvt/2.0/${pkgname}-${pkgver}.tar.bz2)
md5sums=('4bbea49495a341650fa1f89908e6554e')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  sed -i -e 's/-DGTK_DISABLE_DEPRECATED//g' libzvt/Makefile.* || return 1
  ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var --disable-static \
      --libexecdir=/usr/lib || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
}