summaryrefslogtreecommitdiff
path: root/community/dvtm/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/dvtm/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/dvtm/PKGBUILD')
-rw-r--r--community/dvtm/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/dvtm/PKGBUILD b/community/dvtm/PKGBUILD
new file mode 100644
index 000000000..bedae4873
--- /dev/null
+++ b/community/dvtm/PKGBUILD
@@ -0,0 +1,42 @@
+# $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=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'
+ '0001-Makefile-respect-DESTDIR-in-tic-invocation.patch')
+md5sums=('7de1103abb0ca410f7250cf89f019a38'
+ '41107e5e84a8572f70d6cb111b4e07f8'
+ 'c85d8265ced45d014a7d3f05134bf6a1')
+
+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
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make PREFIX=/usr DESTDIR="${pkgdir}" install
+ install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}