summaryrefslogtreecommitdiff
path: root/extra/libzvt/PKGBUILD
blob: 4043a6370a5e45cba6c14f4bee27b547b6f85700 (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
# $Id: PKGBUILD 198306 2013-10-30 14:03:48Z allan $
# Contributor: Tobias Kieslich <tobias@justdreams.de>
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libzvt
pkgver=2.0.1
pkgrel=7
pkgdesc="Zed's virtual terminal library"
arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
url="http://ftp.gnome.org/pub/GNOME/sources/libzvt"
depends=('gtk2' 'libart-lgpl')
makedepends=('pkgconfig')
source=(ftp://ftp.gnome.org/pub/GNOME/sources/libzvt/2.0/${pkgname}-${pkgver}.tar.bz2
	libzvt-2.0.1-correct_glib_include.patch)
md5sums=('4bbea49495a341650fa1f89908e6554e'
	 '2e30c7aafd5fc8dc1de0971ca562fee0')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -Np1 -i ${srcdir}/libzvt-2.0.1-correct_glib_include.patch
  sed -i -e 's/-DGTK_DISABLE_DEPRECATED//g' libzvt/Makefile.*
  ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var --disable-static \
      --libexecdir=/usr/lib --build=$CHOST
  make
}

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