summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e8d32f1585ac072187c396786cf6a6a816ce9768 (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
33
34
35
36
37
38
39
40
41
42
43
44
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>

pkgname=sshpass-svn
pkgver=r79
pkgrel=2
pkgdesc="A tool for non-interactivly performing password authentication"
arch=('i686' 'x86_64')
url="https://sourceforge.net/projects/sshpass/"
license=('GPL')
depends=('glibc' 'openssh')
makedepends=('subversion')
provides=("sshpass=$pkgver")
conflicts=('sshpass')
source=("svn+https://svn.code.sf.net/p/sshpass/code/trunk")
sha256sums=('SKIP')


pkgver() {
  cd "trunk"

  _rev=$(svnversion | sed 's/[^0-9]+//')
  printf "r%s" "$_rev"
}

build() {
  cd "trunk"

  ./bootstrap
  ./configure \
    --prefix="/usr"
  make
}

check() {
  cd "trunk"

  #make check
}

package() {
  cd "trunk"

  make DESTDIR="$pkgdir" install
}