summaryrefslogtreecommitdiff
path: root/~lukeshu/etckeeper/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-08-28 11:13:32 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-08-28 11:13:32 +0200
commit0cc6a0720f9505aaacfc247fa646d3e888f8e4aa (patch)
tree65312a00db8134471b6b4d8f32c36cf479effdbe /~lukeshu/etckeeper/PKGBUILD
parent0c5c6934b681707ec1a459da4318aabd7f9b796f (diff)
parent559da5e6e5aff9ccc57e29b6a91c35a528424b6c (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/widelands/PKGBUILD community/bird/PKGBUILD community/hwinfo/PKGBUILD community/pdnsd/PKGBUILD community/spectrwm/PKGBUILD community/xmlrpc-c/PKGBUILD core/wireless_tools/PKGBUILD extra/proftpd/PKGBUILD libre/grub/PKGBUILD multilib-testing/lib32-libdrm/PKGBUILD multilib-testing/lib32-libdrm/no-pthread-stubs.patch multilib/lib32-gdk-pixbuf2/PKGBUILD testing/pkg-config/PKGBUILD testing/systemd/PKGBUILD testing/systemd/systemd.install
Diffstat (limited to '~lukeshu/etckeeper/PKGBUILD')
-rw-r--r--~lukeshu/etckeeper/PKGBUILD37
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')