diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-10-22 11:05:18 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-10-22 11:05:18 -0300 |
commit | 2352f09f581b24fa01f022026728acf919c0335a (patch) | |
tree | 36667ad9212b04db2500f304da5ac4a611cce5c9 /pcr/etckeeper/PKGBUILD | |
parent | 7e9d319e9575e68d86463b792425fcdba0f195d2 (diff) | |
parent | 99746708edfd2c56f2ba654a14f27e98b1601a43 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-staging/gambas3/PKGBUILD
community-staging/luminancehdr/PKGBUILD
community-staging/luxrays/PKGBUILD
community-staging/luxrender/PKGBUILD
community-staging/performous/PKGBUILD
community-staging/widelands/PKGBUILD
community/chmsee/PKGBUILD
community/flac123/PKGBUILD
community/pam-krb5/PKGBUILD
community/python-pyxattr/PKGBUILD
extra/postgresql/PKGBUILD
extra/pygobject2/PKGBUILD
extra/python-lxml/PKGBUILD
extra/usbview/PKGBUILD
extra/vlc/PKGBUILD
extra/xorg-server/PKGBUILD
multilib/lib32-libpng/PKGBUILD
multilib/lib32-util-linux/PKGBUILD
staging/bzflag/PKGBUILD
staging/calligra/PKGBUILD
staging/enblend-enfuse/PKGBUILD
staging/gegl/PKGBUILD
staging/hugin/PKGBUILD
staging/inkscape/PKGBUILD
testing/btrfs-progs/PKGBUILD
testing/btrfs-progs/initcpio-hook-btrfs
testing/btrfs-progs/initcpio-install-btrfs
testing/cryptsetup/PKGBUILD
testing/cryptsetup/encrypt_hook
testing/empathy/PKGBUILD
testing/evolution/PKGBUILD
testing/glibmm/PKGBUILD
testing/gtkglext/PKGBUILD
testing/ibus/PKGBUILD
testing/kmod/PKGBUILD
testing/udisks2/PKGBUILD
testing/xf86-video-intel/PKGBUILD
Diffstat (limited to 'pcr/etckeeper/PKGBUILD')
-rw-r--r-- | pcr/etckeeper/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pcr/etckeeper/PKGBUILD b/pcr/etckeeper/PKGBUILD new file mode 100644 index 000000000..163c320db --- /dev/null +++ b/pcr/etckeeper/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer (Parabola): Luke Shumaker <lukeshu@sbcglobal.net> +# Maintainer (AUR): Buce <dmbuce@gmail.com> +# Contributor: Danie Roux <accounts@danieroux.com> + +# This requires makepkg newer than 4.0.3, which at this time means from git + +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/" +license=('GPL2') + +pkgrel=1 +arch=('any') +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) + +build() { + cd "$srcdir/etckeeper-$pkgver" + + # add pacman support to list-to `list-installed` + patch -p0 -i "$srcdir/etckeeper-pacman.patch" + + # 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=('SKIP' + 'f1f00bf9331d1ef7f29b0ac29cdfcbda' + '99d8d2838f49fa0f2f21c9e37948100d') |