diff options
Diffstat (limited to 'community/dtach/PKGBUILD')
-rw-r--r-- | community/dtach/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/dtach/PKGBUILD b/community/dtach/PKGBUILD new file mode 100644 index 000000000..59adff7f3 --- /dev/null +++ b/community/dtach/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 65661 2012-02-21 20:25:45Z 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=5 +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 + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + install -Dm755 dtach "${pkgdir}/usr/bin/dtach" + install -Dm644 dtach.1 "${pkgdir}/usr/share/man/man1/dtach.1" +} + +# vim:set ts=2 sw=2 et: |