Commit 8eb75604 authored by Leo's avatar Leo

community/etckeeper: upgrade to 1.18.11

parent 2ddeb731
......@@ -2,7 +2,7 @@
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=etckeeper
pkgver=1.18.10
pkgver=1.18.11
pkgrel=0
pkgdesc="Store /etc in git."
url="http://etckeeper.branchable.com"
......@@ -13,27 +13,22 @@ depends="findutils git"
subpackages="$pkgname-doc"
options="!checkroot"
install="$pkgname.post-install $pkgname.pre-deinstall"
source="$pkgname-$pkgver.tar.gz::https://git.joeyh.name/index.cgi/$pkgname.git/snapshot/$pkgname-$pkgver.tar.gz
source="$pkgname-$pkgver.tar.gz::https://git.joeyh.name/index.cgi/etckeeper.git/snapshot/etckeeper-$pkgver.tar.gz
apk-commit_hook
"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
cd "$builddir"
sed -i 's|^PYTHON=python$|PYTHON=/bin/false|' Makefile
sed -i 's/_PACKAGE_MANAGER=.*/_PACKAGE_MANAGER=apk/' etckeeper.conf
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir"
rm -rf "$pkgdir"/lib/systemd
rmdir "$pkgdir"/lib/
......@@ -46,5 +41,5 @@ package() {
"$pkgdir"/etc/apk/commit_hooks.d/"$pkgname"
}
sha512sums="57eb91823c37f364e7ade6b25d2ab91fc99d1192a606fd09370c2876a0440120a625f30167fc52fb16b53ef9f7a58a1329bfe9567cbc2c91da06a345ebbe8e05 etckeeper-1.18.10.tar.gz
sha512sums="131c66b450d2759742f29b7a28ea5348485b764d493a495ef1026bf1a927d4bedd662da62df46530105b0ebdb0c7a9dc762789ad0921f4ec8d33e15222dd18eb etckeeper-1.18.11.tar.gz
d0ff88615359e8b03da5f9162a7bae3f32c06891a8899096025283d77e950dd72280c6c19b8eb8a4cde08742c6ca715cd32c37c16e8bbf2d030e9fd16a1fc940 apk-commit_hook"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment