summaryrefslogtreecommitdiff
path: root/community/dvtm
diff options
context:
space:
mode:
Diffstat (limited to 'community/dvtm')
-rw-r--r--community/dvtm/0001-Makefile-respect-DESTDIR-in-tic-invocation.patch25
-rw-r--r--community/dvtm/PKGBUILD18
2 files changed, 38 insertions, 5 deletions
diff --git a/community/dvtm/0001-Makefile-respect-DESTDIR-in-tic-invocation.patch b/community/dvtm/0001-Makefile-respect-DESTDIR-in-tic-invocation.patch
new file mode 100644
index 000000000..9ce462240
--- /dev/null
+++ b/community/dvtm/0001-Makefile-respect-DESTDIR-in-tic-invocation.patch
@@ -0,0 +1,25 @@
+From 4ab5ed57a3b53e0271cf50f256cd7904c50cac55 Mon Sep 17 00:00:00 2001
+From: Douglas Jerome <douglas@ttylinux.org>
+Date: Wed, 15 May 2013 14:33:31 +0200
+Subject: [PATCH] Makefile: respect ${DESTDIR} in tic invocation
+
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index ff85deb..eb849f4 100644
+--- a/Makefile
++++ b/Makefile
+@@ -55,7 +55,7 @@ install: dvtm
+ @sed "s/VERSION/${VERSION}/g" < dvtm.1 > ${DESTDIR}${MANPREFIX}/man1/dvtm.1
+ @chmod 644 ${DESTDIR}${MANPREFIX}/man1/dvtm.1
+ @echo installing terminfo description
+- @tic -s dvtm.info
++ @tic -o ${DESTDIR}/usr/share/terminfo -s dvtm.info
+
+ uninstall:
+ @echo removing executable file from ${DESTDIR}${PREFIX}/bin
+--
+1.8.3.450.gf3f2a46
+
diff --git a/community/dvtm/PKGBUILD b/community/dvtm/PKGBUILD
index ad374d4d3..bedae4873 100644
--- a/community/dvtm/PKGBUILD
+++ b/community/dvtm/PKGBUILD
@@ -1,26 +1,34 @@
-# $Id: PKGBUILD 88575 2013-04-20 13:06:56Z lfleischer $
+# $Id: PKGBUILD 92416 2013-06-04 19:05:34Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Giorgio Lando <patroclo7@gmail.com>
# Contributor: bender02 at gmx dot com
pkgname=dvtm
pkgver=0.9
-pkgrel=1
+pkgrel=2
pkgdesc='Dynamic virtual terminal manager.'
arch=('i686' 'x86_64')
url='http://www.brain-dump.org/projects/dvtm/'
license=('MIT')
depends=('ncurses')
source=("http://www.brain-dump.org/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz"
- 'config.h')
+ 'config.h'
+ '0001-Makefile-respect-DESTDIR-in-tic-invocation.patch')
md5sums=('7de1103abb0ca410f7250cf89f019a38'
- '41107e5e84a8572f70d6cb111b4e07f8')
+ '41107e5e84a8572f70d6cb111b4e07f8'
+ 'c85d8265ced45d014a7d3f05134bf6a1')
-build() {
+prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../0001-Makefile-respect-DESTDIR-in-tic-invocation.patch
+
cp "${srcdir}/config.h" .
sed -i 's/CFLAGS =/CFLAGS +=/' config.mk
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make clean
make