From 26f51dc07b0e198a7166b351f94f8e3734f021f7 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 28 Jan 2010 17:08:16 +0000 Subject: main/mrxvt: rebuild against libpng-1.4 --- main/mrxvt/APKBUILD | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'main/mrxvt/APKBUILD') diff --git a/main/mrxvt/APKBUILD b/main/mrxvt/APKBUILD index 3dba1c4c83..81c1e7f947 100644 --- a/main/mrxvt/APKBUILD +++ b/main/mrxvt/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Mark Constable pkgname=mrxvt pkgver=0.5.4 -pkgrel=0 +pkgrel=1 pkgdesc="A multi-tabbed X terminal emulator based on rxvt code" url="http://materm.sourceforge.net/wiki/pmwiki.php" license="GPL" @@ -14,10 +14,14 @@ source=" mrxvt.desktop " -build() -{ - cd "$srcdir"/$pkgname-$pkgver +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" patch -p1 < ../mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch || return 1 +} + +build() { + cd "$_builddir" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -36,6 +40,10 @@ build() --enable-backspace-key \ --with-save-lines=2048 || return 1 make || return 1 +} + +package() { + cd "$_builddir" make DESTDIR=$pkgdir install || return 1 install -Dm644 ../mrxvt.desktop $pkgdir/usr/share/applications/mrxvt.desktop -- cgit v1.2.3