summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6add5bf577c23edf75cbcd5210c649bc7a015b83 (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
# Maintainer: Fran Dieguez <fran dot dieguez at mabishu dot com>
pkgname=mssh-git
pkgver=2.2.r0.g9221061
pkgrel=1
pkgdesc="Tool to administrate multiple servers at once"
arch=('x86_64' 'i686')
license=('BSD')
url="http://baloo.dyndns.biz/"
options=('!strip')
makedepends=("git" "bash-completion" "gconf" "intltool")
depends=("gconf" "openssh" "vte3")
conflicts=("mssh")
provides=("mssh=$pkgver")
source=("$pkgname::git://baloo.dyndns.biz/mssh.git")
sha256sums=('SKIP')
pkgver() {
  cd $pkgname
  git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/[_-]/./g'
}
build() {
  cd $pkgname
  ./bootstrap.sh
  CC=clang ./configure --prefix=/usr --sysconfdir=/etc \
    --with-gconf-schema-file-dir=/usr/share/gconf/schemas \
    --disable-nls
  make
}
check() {
  cd $pkgname
  make -k check
}
package() {
  cd $pkgname
  make DESTDIR="$pkgdir/" install
  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}