summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 50bc9ccd2dac67c883c78321bce013817ac289d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Paul <GammaFunction@vivaldi.net>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Pierre Neidhardt <ambrevar@gmail.com>
# Contributor: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Adam Vogt <vogt.adam@gmail.com>

pkgname=dtach-ng
pkgver=0.10
pkgrel=1
pkgdesc="emulates the detach feature of screen"
arch=("x86_64")
url=https://github.com/xPMo/dtach
license=('GPL')
depends=('glibc')
optdepends=('ncurses: Support for non-VT100 terminals')
conflicts=('dtach')
provides=('dtach')
source=(https://github.com/xPMo/dtach/archive/v${pkgver}.tar.gz)
sha256sums=('06e386fd3ff3af17aa3b6a54f1357bc6d2554937c8e6f588019a12bfb2410cd1')

build() {
  cd ${pkgname%-ng}-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname%-ng}-$pkgver
  install -Dm755 dtach "$pkgdir"/usr/bin/dtach
  install -Dm644 dtach.1 "$pkgdir"/usr/share/man/man1/dtach.1
}