diff options
author | skydrome | 2015-06-01 14:16:07 -0400 |
---|---|---|
committer | skydrome | 2015-06-01 14:16:07 -0400 |
commit | 1db6f38de545805cd2a18b807a135495e811e093 (patch) | |
tree | e00ce3ed06df59379ed7074bc7fef1accbb7a61b /PKGBUILD | |
download | aur-monotone-snapshot.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f4259e385231 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: 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-snapshot +pkgver=1.2.dev +pkgrel=1 +_snapshot=39626e94a960267e612c72c565b529674834b862 +pkgdesc='A modern distributed version control system, like hg, darcs, or git (dev snapshot)' +arch=('i686' 'x86_64') +url='https://code.monotone.ca/p/monotone' +license=('GPL') +depends=('pcre' 'lua' 'botan' 'sqlite3' 'libidn' 'zlib') +makedepends=('boost' 'git') +provides=('monotone') +conflicts=('monotone') +install=monotone.install +source=($pkgname::"git+https://github.com/skydrome/monotone.vcs.mirror.git") +sha256sums=('SKIP') + +prepare() { + cd "$srcdir/$pkgname" + sed -i "s/echo \"unknown\"/echo \"$_snapshot\"/" 'Makefile.am' + aclocal + autoreconf --install +} + +build() { + cd "$srcdir/$pkgname" + export DISABLE_NETWORK_TESTS=1 + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-nls + make +} + +package() { + cd "$srcdir/$pkgname" + 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/" +} |