summaryrefslogtreecommitdiff
path: root/~lukeshu
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-08-25 13:55:34 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-08-25 13:55:34 -0400
commit1e2d9d3183d33a7b8031e76c0f34f57e0ab64c36 (patch)
tree1fb016d3af820c8f74da43c98c8be40c60ce7471 /~lukeshu
parent9c5c94b9ba22f92eaecbe4a7033e76b516739174 (diff)
downloadabslibre-1e2d9d3183d33a7b8031e76c0f34f57e0ab64c36.tar.gz
abslibre-1e2d9d3183d33a7b8031e76c0f34f57e0ab64c36.tar.bz2
abslibre-1e2d9d3183d33a7b8031e76c0f34f57e0ab64c36.zip
add ~lukeshu/etckeeper
Diffstat (limited to '~lukeshu')
-rw-r--r--~lukeshu/etckeeper/PKGBUILD37
-rw-r--r--~lukeshu/etckeeper/etckeeper-archlinux.conf38
2 files changed, 75 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')
diff --git a/~lukeshu/etckeeper/etckeeper-archlinux.conf b/~lukeshu/etckeeper/etckeeper-archlinux.conf
new file mode 100644
index 000000000..83e2c577d
--- /dev/null
+++ b/~lukeshu/etckeeper/etckeeper-archlinux.conf
@@ -0,0 +1,38 @@
+# The VCS to use.
+#VCS="hg"
+VCS="git"
+#VCS="bzr"
+#VCS="darcs"
+
+# Options passed to git commit when run by etckeeper.
+GIT_COMMIT_OPTIONS=""
+
+# Options passed to hg commit when run by etckeeper.
+HG_COMMIT_OPTIONS=""
+
+# Options passed to bzr commit when run by etckeeper.
+BZR_COMMIT_OPTIONS=""
+
+# Options passed to darcs record when run by etckeeper.
+DARCS_COMMIT_OPTIONS="-a"
+
+# Uncomment to avoid etckeeper committing existing changes
+# to /etc automatically once per day.
+#AVOID_DAILY_AUTOCOMMITS=1
+
+# Uncomment the following to avoid special file warning
+# (the option is enabled automatically by cronjob regardless).
+#AVOID_SPECIAL_FILE_WARNING=1
+
+# Uncomment to avoid etckeeper committing existing changes to
+# /etc before installation. It will cancel the installation,
+# so you can commit the changes by hand.
+#AVOID_COMMIT_BEFORE_INSTALL=1
+
+# The high-level package manager that's being used.
+# (apt, pacman-g2, yum etc)
+HIGHLEVEL_PACKAGE_MANAGER=pacman
+
+# The low-level package manager that's being used.
+# (dpkg, rpm, pacman-g2, etc)
+LOWLEVEL_PACKAGE_MANAGER=pacman