diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-08-25 13:55:34 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-08-25 13:55:34 -0400 |
commit | 1e2d9d3183d33a7b8031e76c0f34f57e0ab64c36 (patch) | |
tree | 1fb016d3af820c8f74da43c98c8be40c60ce7471 /~lukeshu/etckeeper/PKGBUILD | |
parent | 9c5c94b9ba22f92eaecbe4a7033e76b516739174 (diff) | |
download | abslibre-1e2d9d3183d33a7b8031e76c0f34f57e0ab64c36.tar.gz abslibre-1e2d9d3183d33a7b8031e76c0f34f57e0ab64c36.tar.bz2 abslibre-1e2d9d3183d33a7b8031e76c0f34f57e0ab64c36.zip |
add ~lukeshu/etckeeper
Diffstat (limited to '~lukeshu/etckeeper/PKGBUILD')
-rw-r--r-- | ~lukeshu/etckeeper/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/~lukeshu/etckeeper/PKGBUILD b/~lukeshu/etckeeper/PKGBUILD new file mode 100644 index 000000000..e243f29f0 --- /dev/null +++ b/~lukeshu/etckeeper/PKGBUILD @@ -0,0 +1,37 @@ +#Contributor: Danie Roux <accounts@danieroux.com> +#Maintainer: Buce <dmbuce@gmail.com> + +# This requires lukeshu's modified makepkg to build + +pkgname=etckeeper +pkgver=0.63 +pkgrel=2.1 +pkgdesc="collection of tools to let /etc be stored in a git, hg, bzr or darcs repository." +arch=('any') +backup=('etc/etckeeper/etckeeper.conf') +url="http://kitenet.net/~joey/code/etckeeper/" +license=('GPL2') +provides=('etckeeper') +depends=('inetutils' 'python2') +makedepends=('bzr') # bzr must be there at compile time to have bzr support +optdepends=('git' 'hg' 'bzr' 'darcs') +source=("etckeeper-$pkgver.tar::git://git.kitenet.net/etckeeper#${pkgver}" + etckeeper-archlinux.conf) + +build() { + cd "$srcdir/etckeeper-$pkgver" + + # use python2 + sed -i 's@^#!/usr/bin/python$@&2@' etckeeper-bzr/__init__.py + + make CONFFILE="$srcdir/etckeeper-archlinux.conf" build +} + +package() { + cd "$srcdir/etckeeper-$pkgver" + + make CONFFILE="$srcdir/etckeeper-archlinux.conf" DESTDIR=$pkgdir install +} + +md5sums=('0373375e93cb7122bb0ae4749e63c0d9' + '99d8d2838f49fa0f2f21c9e37948100d') |