aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-28 17:08:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-28 17:08:16 +0000
commit26f51dc07b0e198a7166b351f94f8e3734f021f7 (patch)
treec60723ec3326a8f245c43174a753dd9d197b4efe
parenta0fa20fd872661616bec3a806ebe2980bf522338 (diff)
downloadaports-26f51dc07b0e198a7166b351f94f8e3734f021f7.tar.bz2
aports-26f51dc07b0e198a7166b351f94f8e3734f021f7.tar.xz
main/mrxvt: rebuild against libpng-1.4
-rw-r--r--main/mrxvt/APKBUILD16
1 files changed, 12 insertions, 4 deletions
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 <markc@renta.net>
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