summaryrefslogtreecommitdiff
path: root/community/dtach/PKGBUILD
blob: 1324f4731c5a02b8dab82b10c4ae0fa7888a6cb1 (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
# $Id: PKGBUILD 17291 2010-05-22 18:01:10Z cbrannon $
# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Adam Vogt <vogt.adam@gmail.com>

pkgname=dtach
pkgver=0.8
pkgrel=4
pkgdesc="emulates the detach feature of screen"
arch=('i686' 'x86_64')
url="http://dtach.sourceforge.net/"
license=('GPL')
depends=('glibc')
source=(http://downloads.sourceforge.net/sourceforge/dtach/$pkgname-$pkgver.tar.gz)
md5sums=('ec5999f3b6bb67da19754fcb2e5221f3')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr || return 1
  make || return 1
}

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

# vim:set ts=2 sw=2 et: