summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 3 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f34a509e257..90fc91a5537 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Christian Hesse <mail@eworm.de>
pkgname=mkinitcpio-archlogo
-pkgver=0.2.0.r10.g8b31162
+pkgver=0.3.0
pkgrel=1
pkgdesc='Add colored Arch Linux ASCII art logo to early boot process'
arch=('any')
@@ -10,25 +10,11 @@ depends=('mkinitcpio')
makedepends=('git')
license=('GPL')
install=mkinitcpio-archlogo.install
-source=('git://github.com/eworm-de/mkinitcpio-archlogo.git')
+validpgpkeys=('BD84DE71F493DF6814B0167254EDC91609BC9183')
+source=("git://github.com/eworm-de/mkinitcpio-archlogo.git#tag=${pkgver}?signed")
backup=('etc/archlogo.conf')
sha256sums=('SKIP')
-pkgver() {
- cd mkinitcpio-archlogo/
-
- if GITTAG="$(git describe --abbrev=0 --tags 2>/dev/null)"; then
- printf '%s.r%s.g%s' \
- "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG})" \
- "$(git rev-list --count ${GITTAG}..)" \
- "$(git log -1 --format='%h')"
- else
- printf '0.r%s.g%s' \
- "$(git rev-list --count master)" \
- "$(git log -1 --format='%h')"
- fi
-}
-
package() {
cd mkinitcpio-archlogo/