[arch-commits] Commit in syslinux/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Thu Jan 10 17:30:24 UTC 2019
Date: Thursday, January 10, 2019 @ 17:30:23
Author: anatolik
Revision: 343518
upgpkg: syslinux 6.04.pre1.r41.g5e426532-1
FS#61058 use git commit information in pkgver
Modified:
syslinux/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-10 17:19:29 UTC (rev 343517)
+++ PKGBUILD 2019-01-10 17:30:23 UTC (rev 343518)
@@ -4,10 +4,10 @@
# Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
pkgname=syslinux
-pkgver=6.04.alpha
+pkgver=6.04.pre1.r41.g5e426532
#_tag=syslinux-$pkgver
_commit=5e426532210bb830d2d7426eb8d8c154d9dfcba6
-pkgrel=2
+pkgrel=1
pkgdesc='Collection of boot loaders that boot from FAT, ext2/3/4 and btrfs filesystems, from CDs and via PXE'
url='http://www.syslinux.org/'
arch=(x86_64)
@@ -46,6 +46,11 @@
x86_64) _targets+=' efi64' ;;
esac
+pkgver() {
+ cd syslinux
+ git describe --long | sed 's/^syslinux-//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
prepare() {
cd syslinux
More information about the arch-commits
mailing list