updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / multitee / PKGBUILD
blob28f6b6943a61d3d0c59a697ab00dc1e34f353f24
1 # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
3 pkgname=multitee
4 pkgver=3.0
5 pkgrel=1
6 pkgdesc="Sends all input on file descriptor fdin to each descriptor fdout."
7 arch=('i686' 'x86_64')
8 url="http://cr.yp.to/djb.html"
9 license=('custom')
10 depends=(glibc)
11 source=(http://cr.yp.to/software/$pkgname-$pkgver.shar.gz
12         Makefile
13         LICENSE)
14 md5sums=('a67f335b47a33f4fbc4a1efa30256de0'
15          '98cf8017d3b38682ae9497ff12a351a2'
16          '026744ba6e67e3204c0a32fefda37dc0')
18 build() {
19   mkdir -p $srcdir/$pkgname-$pkgver
20   cd $srcdir/$pkgname-$pkgver
22   sed -i '1,35d' ../$pkgname-$pkgver.shar
23   sh ../$pkgname-$pkgver.shar
24   cp ../Makefile .
26   make
29 package() {
30   cd $srcdir/$pkgname-$pkgver
32   make PREFIX=/usr DESTDIR=$pkgdir install
33   install -Dm0644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE