diff options
Diffstat (limited to 'extra/monotone')
-rw-r--r-- | extra/monotone/PKGBUILD | 30 | ||||
-rw-r--r-- | extra/monotone/monotone.install | 29 |
2 files changed, 0 insertions, 59 deletions
diff --git a/extra/monotone/PKGBUILD b/extra/monotone/PKGBUILD deleted file mode 100644 index 8f5c29287..000000000 --- a/extra/monotone/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# $Id: PKGBUILD 119532 2011-04-11 21:19:22Z angvp $ -# 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 -pkgver=1.0 -pkgrel=1 -pkgdesc="A modern distributed version control system, like hg, darcs, or git" -arch=('i686' 'x86_64' 'mips64el') -url="http://www.monotone.ca" -license=('GPL') -depends=('botan' 'pcre' 'lua' 'sqlite3' 'libidn' 'zlib') -makedepends=('boost') -install=${pkgname}.install -source=(http://www.monotone.ca/downloads/${pkgver}/${pkgname}-${pkgver}.tar.bz2) -md5sums=('6a0b5d8560f08d76a950172f9ed0feff') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --sysconfdir=/etc - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - MAKEFLAGS="-j1" make DESTDIR="${pkgdir}" install - install -Dm644 contrib/monotone.zsh_completion \ - "${pkgdir}/usr/share/zsh/site-functions/monotone" -} diff --git a/extra/monotone/monotone.install b/extra/monotone/monotone.install deleted file mode 100644 index 49a8651c0..000000000 --- a/extra/monotone/monotone.install +++ /dev/null @@ -1,29 +0,0 @@ -infodir=usr/share/info -filelist=(monotone.info.gz) - -post_install() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info $infodir/$file $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 - -# arg 1: the new package version -# arg 2: the old package version - if [ "$(vercmp $2 0.45)" -lt 0 ]; then - echo ">>> Your monotone databases will need updating for an internal format" - echo ">>> change. Please run the following command on each of your databases" - echo ">>> (after remembering to take a backup copy):" - echo ">>> $ mtn -d dbname.mtn db migrate" - fi -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -} |