From cf97cef4d6c143fbf5f47d42e57cc13a43647a1b Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 22 Jul 2013 20:54:31 -0600 Subject: update pcr/etckeeper --- pcr/etckeeper/PKGBUILD | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) (limited to 'pcr/etckeeper/PKGBUILD') diff --git a/pcr/etckeeper/PKGBUILD b/pcr/etckeeper/PKGBUILD index 163c320db..09a5d4d15 100644 --- a/pcr/etckeeper/PKGBUILD +++ b/pcr/etckeeper/PKGBUILD @@ -1,13 +1,12 @@ -# Maintainer (Parabola): Luke Shumaker +# Maintainer: Luke Shumaker # Maintainer (AUR): Buce # Contributor: Danie Roux - -# This requires makepkg newer than 4.0.3, which at this time means from git +# Contributor: Diogo Leal pkgname=etckeeper -pkgver=0.64 -pkgdesc="collection of tools to let /etc be stored in a git, hg, bzr or darcs repository." -url="http://kitenet.net/~joey/code/etckeeper/" +pkgver=1.4 +pkgdesc="Collection of tools to let /etc be stored in a git, hg, bzr or darcs repository." +url="http://joeyh.name/code/etckeeper/" license=('GPL2') pkgrel=1 @@ -16,28 +15,28 @@ depends=('inetutils' 'python2') makedepends=('bzr') # bzr must be there at compile time to have bzr support optdepends=('git' 'hg' 'bzr' 'darcs') backup=(etc/etckeeper/etckeeper.conf) -source=("etckeeper-$pkgver::git://git.kitenet.net/etckeeper#tag=${pkgver}" - etckeeper-pacman.patch - etckeeper-archlinux.conf) +source=("libre://$pkgname-$pkgver.tar.gz" $pkgname-pacman.patch $pkgname-archlinux.conf) + +mksource=("$pkgname-$pkgver::git://git.kitenet.net/$pkgname#tag=${pkgver}") +mkmd5sums=('SKIP') build() { - cd "$srcdir/etckeeper-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" - # add pacman support to list-to `list-installed` - patch -p0 -i "$srcdir/etckeeper-pacman.patch" + # add pacman support to `list-installed` + patch -p0 -i "${srcdir}/${pkgname}-pacman.patch" # use python2 sed -i 's@^#!/usr/bin/python$@&2@' etckeeper-bzr/__init__.py - - make CONFFILE="$srcdir/etckeeper-archlinux.conf" build + make CONFFILE="${srcdir}/${pkgname}-archlinux.conf" build } package() { - cd "$srcdir/etckeeper-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" - make CONFFILE="$srcdir/etckeeper-archlinux.conf" DESTDIR=$pkgdir install + make CONFFILE="${srcdir}/${pkgname}-archlinux.conf" DESTDIR="$pkgdir" install } -md5sums=('SKIP' +md5sums=('74be692fdb2d3352324e9332a270635d' 'f1f00bf9331d1ef7f29b0ac29cdfcbda' '99d8d2838f49fa0f2f21c9e37948100d') -- cgit v1.2.3