diff options
author | git user | 2023-10-19 09:35:26 +0200 |
---|---|---|
committer | git user | 2023-10-19 09:35:26 +0200 |
commit | 7f80254ee87c143674d8492f34396887892c007e (patch) | |
tree | be8bf4819fa2f454f1775b398460216ea2f2cfff | |
parent | 88b0b10839a634cf54785e6472ff5d044575d477 (diff) | |
download | aur-7f80254ee87c143674d8492f34396887892c007e.tar.gz |
Made `helpmessages_english.md` be downloaded to a package name and version aware filename.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 11 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = balong-fbtools-git pkgdesc = Utilities for working with flash modems on the balong platform. Contains 'fbrflash'. pkgver = r36.20171009.22a228c - pkgrel = 2 + pkgrel = 3 url = https://github.com/forth32/balong-fbtools arch = i686 arch = x86_64 @@ -14,7 +14,7 @@ pkgbase = balong-fbtools-git conflicts = balong-fbtools conflicts = fbrflash source = balong-fbtools::git+https://github.com/forth32/balong-fbtools.git - source = helpmessages_english.md::http://ix.io/3Znm + source = balong-fbtools-r36.20171009.22a228c_-_helpmessages_english.md::http://ix.io/3Znm sha256sums = SKIP sha256sums = ab70bd1ab7b324ea73e3225d13500b1ecda7663434a8fa71b5457dd229087440 @@ -3,7 +3,7 @@ _pkgname="balong-fbtools" pkgname="${_pkgname}-git" pkgver=r36.20171009.22a228c -pkgrel=2 +pkgrel=3 pkgdesc="Utilities for working with flash modems on the balong platform. Contains 'fbrflash'." arch=('i686' 'x86_64') url="https://github.com/forth32/${_pkgname}" @@ -23,7 +23,7 @@ conflicts=( source=( "${_pkgname}::git+https://github.com/forth32/${_pkgname}.git" - 'helpmessages_english.md'::"http://ix.io/3Znm" + "${_pkgname}-${pkgver}_-_helpmessages_english.md::http://ix.io/3Znm" ) sha256sums=( 'SKIP' @@ -48,6 +48,12 @@ pkgver() { build() { cd "${srcdir}/${_pkgname}" + _CFLAGSADDITION=" -Wno-error=deprecated-declarations" + CFLAGS+="${_CFLAGSADDITION}" + CXXFLAGS+="${_CFLAGSADDITION}" + export CFLAGS + export CXXFLAGS + make } @@ -56,5 +62,5 @@ package() { install -D -v -m755 fbrflash "${pkgdir}/usr/bin/fbrflash" install -D -v -m644 "README.md" "${pkgdir}/usr/share/doc/${_pkgname}/README.md" - install -D -v -m644 "${srcdir}/helpmessages_english.md" "${pkgdir}/usr/share/doc/${_pkgname}/helpmessages_english.md" + install -D -v -m644 "${srcdir}/${_pkgname}-${pkgver}_-_helpmessages_english.md" "${pkgdir}/usr/share/doc/${_pkgname}/helpmessages_english.md" } |