[arch-commits] Commit in efibootmgr/trunk (PKGBUILD)

Tobias Powalowski tpowa at nymeria.archlinux.org
Mon Feb 24 11:47:03 UTC 2014


    Date: Monday, February 24, 2014 @ 12:47:03
  Author: tpowa
Revision: 206359

upgpkg: efibootmgr 0.6.1.29.gf4e29e4-1

pointing to the latest 'master' branch commit of new official upstream git repo https://github.com/vathpela/efibootmgr/commits/master

Modified:
  efibootmgr/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++---------------
 1 file changed, 13 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-02-24 10:41:47 UTC (rev 206358)
+++ PKGBUILD	2014-02-24 11:47:03 UTC (rev 206359)
@@ -1,15 +1,18 @@
 # $Id$
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 # Contributor: Murtuza Akhtari <inxsible at gmail dot com>
-# Contributor: Keshav Padram Amburay <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
+# Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
 
-pkgname="efibootmgr"
+_pkgname="efibootmgr"
+pkgname="${_pkgname}"
 
-_gitroot="git://github.com/vathpela/efibootmgr.git"
-_gitname="${pkgname}-pjones"
-_gitbranch="libefivars"
+_gitroot="https://github.com/vathpela/efibootmgr.git"
+_gitname="${_pkgname}"
+_gitbranch="master"
 
-pkgver=0.6.0.138.1132342
+_GIT_COMMIT="f4e29e4200ed1e866c9cf98d2ebdcb8ac2e9826c"
+
+pkgver=0.6.1.29.gf4e29e4
 pkgrel=1
 pkgdesc="Tool to modify UEFI Firmware Boot Manager Variables"
 arch=('x86_64' 'i686')
@@ -17,21 +20,16 @@
 license=('GPL2')
 makedepends=('git')
 depends=('pciutils' 'efivar' 'zlib')
+conflicts=("${_pkgname}-pjones")
+provides=("${_pkgname}-pjones=${pkgver}")
 options=('strip' 'zipman' '!emptydirs')
 
-source=("${_gitname}::git+${_gitroot}#branch=${_gitbranch}")
+source=("${_gitname}::git+${_gitroot}#commit=${_GIT_COMMIT}")
 sha1sums=('SKIP')
 
 pkgver() {
 	cd "${srcdir}/${_gitname}/"
-	
-	_RELEASE_MAJOR="$(grep 'RELEASE_MAJOR' "${srcdir}/${_gitname}/Makefile" | head -1 | sed -e 's|RELEASE_MAJOR := ||g')"
-	_RELEASE_MINOR="$(grep 'RELEASE_MINOR' "${srcdir}/${_gitname}/Makefile" | head -1 | sed -e 's|RELEASE_MINOR := ||g')"
-	_RELEASE_SUBLEVEL="$(grep 'RELEASE_SUBLEVEL' "${srcdir}/${_gitname}/Makefile" | head -1 | sed -e 's|RELEASE_SUBLEVEL := ||g')"
-	
-	_ACTUAL_VER="$(echo ${_RELEASE_MAJOR}.${_RELEASE_MINOR}.${_RELEASE_SUBLEVEL} | sed 's| ||g')"
-	
-	echo "${_ACTUAL_VER}.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+	echo "$(git describe --tags)" | sed -e 's|-|\.|g'
 }
 
 build() {




More information about the arch-commits mailing list