summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD20
2 files changed, 6 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 43d1036ff68..336cc666959 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Wed Sep 7 20:20:30 UTC 2016
pkgbase = mkinitcpio-archlogo
pkgdesc = Add colored Arch Linux ASCII art logo to early boot process
- pkgver = 0.2.0.r10.g8b31162
+ pkgver = 0.3.0
pkgrel = 1
url = https://github.com/eworm-de/mkinitcpio-archlogo
install = mkinitcpio-archlogo.install
@@ -11,7 +9,8 @@ pkgbase = mkinitcpio-archlogo
makedepends = git
depends = mkinitcpio
backup = etc/archlogo.conf
- source = git://github.com/eworm-de/mkinitcpio-archlogo.git
+ source = git://github.com/eworm-de/mkinitcpio-archlogo.git#tag=0.3.0?signed
+ validpgpkeys = BD84DE71F493DF6814B0167254EDC91609BC9183
sha256sums = SKIP
pkgname = mkinitcpio-archlogo
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/