summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Wild2019-06-15 01:35:43 -0400
committerAllen Wild2019-06-15 01:35:43 -0400
commiteb4c55c0179cc2a006ecb80f68598bac47dd0f8c (patch)
tree1f54b68c7f132116e65b4a6b0180f27334ab000c
parentef2424f6e1643b5adbcd5b63c05840c6a1677270 (diff)
downloadaur-eb4c55c0179cc2a006ecb80f68598bac47dd0f8c.tar.gz
set version when compiling (1.9.1.r8.g8202074-3)
Upstream Makefile now uses git describe for the version, so use the pkgver-formatted git describe output instead.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0e61361bbbcb..52b046bbfc68 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = bossa-git
pkgdesc = Flash programming utility for Atmel's SAM family of flash-based ARM microcontrollers
pkgver = 1.9.1.r8.g8202074
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/shumatech/BOSSA
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 85c6f23bc83c..7e6d0d5f07dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Matt Coffin <mcoffin13@gmail.com>
pkgname=bossa-git
pkgver=1.9.1.r8.g8202074
-pkgrel=2
+pkgrel=3
pkgdesc="Flash programming utility for Atmel's SAM family of flash-based ARM microcontrollers"
arch=('i686' 'x86_64')
url="https://github.com/shumatech/BOSSA"
@@ -28,7 +28,7 @@ prepare() {
build() {
cd "$srcdir/BOSSA"
- make
+ make VERSION="$pkgver"
}
package() {