diff options
author | archaurwiki | 2015-09-04 19:32:18 +0000 |
---|---|---|
committer | archaurwiki | 2015-09-04 19:32:18 +0000 |
commit | 2866857466b58c262d891f331e2c5159657e2813 (patch) | |
tree | f34da4e60b6524d77667b7ab578988c01c1591b5 /PKGBUILD | |
download | aur-2866857466b58c262d891f331e2c5159657e2813.tar.gz |
First commit.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5a4a25e3e116 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: archaurwiki <archaurwiki at i2pmail dot org> +# Contributor: Angel Velasquez <angvp@archlinux.org> +# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> +# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org> +# Contributor: Dan McGee <dpmcgee@gmail.com> + +pkgname=monotone +pkgver=1.1 +pkgrel=1 +pkgdesc='A free distributed version control system' +arch=('i686' 'x86_64') +url='https://code.monotone.ca/p/monotone' +license=('GPL') +depends=('pcre' 'lua' 'botan-stable' 'sqlite3' 'libidn' 'zlib') +makedepends=('boost') +provides=('monotone') +conflicts=('monotone' 'monotone-snapshot') +install=monotone.install +source=("http://www.monotone.ca/downloads/1.1/monotone-${pkgver}.tar.bz2") +sha1sums=('2b97559b252decaee3a374b81bf714cf33441ba3') + +prepare() { + cd "$srcdir/${pkgname}-${pkgver}" + aclocal + autoreconf --install +} + +build() { + cd "$srcdir/${pkgname}-${pkgver}" + export DISABLE_NETWORK_TESTS=1 + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-nls + make +} + +package() { + cd "$srcdir/${pkgname}-${pkgver}" + make DESTDIR="$pkgdir" install + install -d "${pkgdir}/usr/share/vim/vimfiles/plugin/" + install -Dm644 contrib/monotone.zsh_completion "${pkgdir}/usr/share/zsh/site-functions/_mtn" + install -Dm644 contrib/{mtncommit,basicio}.vim "${pkgdir}/usr/share/vim/vimfiles/plugin/" +} |