# $Id: PKGBUILD 48504 2009-08-02 17:07:57Z giovanni $ # Maintainer: Douglas Soares de Andrade # Contributor: Jeff 'codemac' Mickey # Contributor: Dan McGee pkgname=monotone pkgver=0.44 pkgrel=1 pkgdesc="A modern distributed version control system, like hg, darcs, or git" url="http://www.monotone.ca" license=("GPL") arch=(i686 x86_64) depends=('boost' 'botan' 'pcre' 'lua' 'sqlite3' 'libidn') makedepends=('zlib' 'gcc-libs') install=monotone.install source=(http://www.monotone.ca/downloads/$pkgver/$pkgname-$pkgver.tar.gz) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc make || return 1 make DESTDIR=$startdir/pkg install # removing info dir rm -rf $startdir/pkg/usr/share/info # install completion scripts mkdir -p $startdir/pkg/etc/bash_completion.d mkdir -p $startdir/pkg/usr/share/zsh/site-functions/ install -m644 contrib/monotone.bash_completion $startdir/pkg/etc/bash_completion.d/monotone install -m644 contrib/monotone.zsh_completion $startdir/pkg/usr/share/zsh/site-functions/monotone } md5sums=('6cc1f5f31df2e41bdfe502310463924a')