aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dvtm
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-01-11 00:48:04 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-01-11 01:05:25 +0100
commit0bd65d432ccdc101763c867784d5fe015352142d (patch)
tree86bdc1f50d58885694a471fac193868948b9ad7f /testing/dvtm
parente8d22a7d4c0f6efd25d2203d78914bb35a03bad3 (diff)
downloadaports-0bd65d432ccdc101763c867784d5fe015352142d.tar.bz2
aports-0bd65d432ccdc101763c867784d5fe015352142d.tar.xz
testing/dvtm: upgrade to 0.15
Diffstat (limited to 'testing/dvtm')
-rw-r--r--testing/dvtm/0001-Makefile-respect-DESTDIR-in-tic-invocation.patch25
-rw-r--r--testing/dvtm/APKBUILD18
2 files changed, 13 insertions, 30 deletions
diff --git a/testing/dvtm/0001-Makefile-respect-DESTDIR-in-tic-invocation.patch b/testing/dvtm/0001-Makefile-respect-DESTDIR-in-tic-invocation.patch
deleted file mode 100644
index 9ce4622404..0000000000
--- a/testing/dvtm/0001-Makefile-respect-DESTDIR-in-tic-invocation.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-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/testing/dvtm/APKBUILD b/testing/dvtm/APKBUILD
index d48ccfa721..015d0997f4 100644
--- a/testing/dvtm/APKBUILD
+++ b/testing/dvtm/APKBUILD
@@ -2,8 +2,8 @@
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer:
pkgname=dvtm
-pkgver=0.14
-pkgrel=1
+pkgver=0.15
+pkgrel=0
pkgdesc="Dynamic virtual terminal manager"
arch="all"
url="http://www.brain-dump.org/projects/dvtm/"
@@ -13,6 +13,14 @@ subpackages="$pkgname-doc"
source="http://www.brain-dump.org/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ sed -i Makefile \
+ -e '/strip/d' \
+ -e '/STRIP/d' \
+ -e 's|\btic\b|tic -o ${DESTDIR}${PREFIX}/share/terminfo|g' || return 1
+}
+
build() {
cd "$_builddir"
make || return 1
@@ -23,6 +31,6 @@ package() {
make PREFIX=/usr DESTDIR="$pkgdir" install || return 1
}
-md5sums="44ec5176b1996fdffd97cabe9a35ea0c dvtm-0.14.tar.gz"
-sha256sums="8a9bb341f8a4c578b839e22d9a707f053a27ae6df15158e16f4fee787e43747a dvtm-0.14.tar.gz"
-sha512sums="d47f55b4ce47582f665ac5b5d86bb9137722f65b157bdd80aaaf45a2cd8d783a3b0718886c7a7ea1d900762359316c2d76816460dac03484e122d43c64f57dd6 dvtm-0.14.tar.gz"
+md5sums="887e162a3abe2ad8e86caefab20cdd63 dvtm-0.15.tar.gz"
+sha256sums="8f2015c05e2ad82f12ae4cf12b363d34f527a4bbc8c369667f239e4542e1e510 dvtm-0.15.tar.gz"
+sha512sums="48a0c8fd6a50fe5d43414d0223c9f4b9920a31d42fe3bfc428ce1ae7d0e41a41ebe2597eae0824c7c76bfb0e32a13e440c8d5fcdb1886d55d6791fa3fe3fd77b dvtm-0.15.tar.gz"