diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-04-01 23:26:46 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-04-01 23:26:46 -0400 |
commit | c668e8d0a4b12399592ef6172b16cdabe05d0252 (patch) | |
tree | 29bb3550a1a3c3d3f84df272f011be94ee26e813 /pcr/etckeeper/PKGBUILD | |
parent | 9e1fc426f9690d862b3cff14472461530bda3916 (diff) |
update pcr/etckeeper
Diffstat (limited to 'pcr/etckeeper/PKGBUILD')
-rw-r--r-- | pcr/etckeeper/PKGBUILD | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/pcr/etckeeper/PKGBUILD b/pcr/etckeeper/PKGBUILD index 09a5d4d15..f5ba66574 100644 --- a/pcr/etckeeper/PKGBUILD +++ b/pcr/etckeeper/PKGBUILD @@ -4,7 +4,7 @@ # Contributor: Diogo Leal <estranho@diogoleal.com> pkgname=etckeeper -pkgver=1.4 +pkgver=1.11 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') @@ -12,22 +12,26 @@ 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') +makedepends=('bzr' 'python2') # bzr must be there at compile time to have bzr support +optdepends=('git' 'hg' 'bzr' 'darcs' 'python2: for bzr support') backup=(etc/etckeeper/etckeeper.conf) -source=("libre://$pkgname-$pkgver.tar.gz" $pkgname-pacman.patch $pkgname-archlinux.conf) +source=("https://repo.parabolagnulinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz" $pkgname-archlinux.conf) +md5sums=('75d13168ca79b9f53dfa6c9603924975' + '99d8d2838f49fa0f2f21c9e37948100d') + +mkdepends=('git') mksource=("$pkgname-$pkgver::git://git.kitenet.net/$pkgname#tag=${pkgver}") mkmd5sums=('SKIP') -build() { +prepare() { cd "${srcdir}/${pkgname}-${pkgver}" - - # 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 +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" make CONFFILE="${srcdir}/${pkgname}-archlinux.conf" build } @@ -36,7 +40,3 @@ package() { make CONFFILE="${srcdir}/${pkgname}-archlinux.conf" DESTDIR="$pkgdir" install } - -md5sums=('74be692fdb2d3352324e9332a270635d' - 'f1f00bf9331d1ef7f29b0ac29cdfcbda' - '99d8d2838f49fa0f2f21c9e37948100d') |