From 2cb07ae9b286d892841ddbb424c0afa8f735e773 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 3 Sep 2009 16:35:00 +0000 Subject: buildrepo: add repository description/version --- buildrepo.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buildrepo.in b/buildrepo.in index 5aa3e43..c211789 100755 --- a/buildrepo.in +++ b/buildrepo.in @@ -97,7 +97,9 @@ build() { oldindex="--index APKINDEX.tar.gz" fi tmpindex=$(mktemp).tar.gz - apk index $oldindex -o $tmpindex *.apk + apk index $oldindex -o $tmpindex \ + --description "$repo $(cd $aportsdir && git describe)" \ + *.apk abuild-sign $tmpindex && mv $tmpindex APKINDEX.tar.gz chmod 644 APKINDEX.tar.gz rm -f tmp.* -- cgit v1.2.3