summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25651babe5a7e622ec0c21a9722ce8b1caf8333c (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
# Maintainer: Moritz Poldrack <moritz at poldrack dot dev>
# Contributor: Whyme Lyu <callme5long@gmail.com>
# Contributor: Thiago Yukio Kikuchi Oliveira <stratust@gmail.com>

_pkgname=bbcp
pkgname=bbcp-git
pkgver=17.12.00.00.0
pkgrel=1
pkgdesc="A high-performance network file copy application."
arch=('x86_64')
url="https://www.slac.stanford.edu/~abh/bbcp/"
license=('LGPL3')
depends=('openssl' 'zlib' 'openssh')
makedepends=('git')
source=('git+https://www.slac.stanford.edu/%7Eabh/bbcp/bbcp.git/')
md5sums=('SKIP')

build() {
  cd "$srcdir/$_pkgname/src"
  sed -i.bak -e 's/uname -i/uname -m/' Makefile
  make
}

package() {
  cd "$srcdir/$_pkgname"
  osver=`./MakeSname`
  install -Dm 755 "$srcdir/$_pkgname/bin/$osver/bbcp" "$pkgdir/usr/bin/bbcp"
}