summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0c0b4088838e36e113e6f96f61b93050b3eba370 (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: Alwyn Kik <alwyn@proteon.com>
# Contributor: Andreas Wagner <AndreasBWagner@pointfree.net>
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>

pkgname=unbuffered-git
pkgver=r1.f73865a
pkgrel=1
pkgdesc="Copy stdin to stdout and stderr, unbuffered, development version"
arch=('i686' 'x86_64')
url="http://www.scylla-charybdis.com/tool.php/${pkgname}"
license=('GPL2')
depends=('glibc')
makedepends=('git')
changelog=ChangeLog
source=(${pkgname}-${pkgver}::'git+https://github.com/hilbix/unbuffered.git#commit=f73865a6cd253052312b154ca4c2e9e1e2f5ce47')
sha512sums=('SKIP')

build() {
  cd "$srcdir/${pkgname}-${pkgver}"
  git submodule update --init
  make unbuffered_version.h
  sed -i 's/\r//' $srcdir/${pkgname}-${pkgver}/unbuffered_version.h
  make
}

package() {
  cd "$srcdir/${pkgname}-${pkgver}"
  mkdir -p $pkgdir/usr/bin
  make INSTALLPATH=$pkgdir/usr install
}

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