Date: Friday, February 17, 2012 @ 07:45:29 Author: allan Revision: 150415
upgpkg: libzvt 2.0.1-7 signing rebuild Modified: libzvt/trunk/PKGBUILD ----------+ PKGBUILD | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-02-17 12:41:31 UTC (rev 150414) +++ PKGBUILD 2012-02-17 12:45:29 UTC (rev 150415) @@ -4,12 +4,12 @@ pkgname=libzvt pkgver=2.0.1 -pkgrel=6 +pkgrel=7 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') +depends=('gtk2' 'libart-lgpl') makedepends=('pkgconfig') options=('!libtool') source=(ftp://ftp.gnome.org/pub/GNOME/sources/libzvt/2.0/${pkgname}-${pkgver}.tar.bz2) @@ -17,10 +17,14 @@ build() { cd "${srcdir}/${pkgname}-${pkgver}" - sed -i -e 's/-DGTK_DISABLE_DEPRECATED//g' libzvt/Makefile.* || return 1 + sed -i -e 's/-DGTK_DISABLE_DEPRECATED//g' libzvt/Makefile.* ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static \ - --libexecdir=/usr/lib || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + --libexecdir=/usr/lib + make } + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +}