summaryrefslogtreecommitdiff
path: root/community/dvtm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dvtm/PKGBUILD')
-rw-r--r--community/dvtm/PKGBUILD18
1 files changed, 13 insertions, 5 deletions
diff --git a/community/dvtm/PKGBUILD b/community/dvtm/PKGBUILD
index 435cbe191..8ed499f09 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' 'mips64el')
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