mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# $Id: PKGBUILD 48504 2009-08-02 17:07:57Z giovanni $
|
|
# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
|
|
# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>
|
|
# Contributor: Dan McGee <dpmcgee@gmail.com>
|
|
|
|
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')
|