Updated gccfilter build with newer source.

Corrected invalid metadata. Moved to git versioning.
This commit is contained in:
2019-08-19 08:58:46 +01:00
parent 4225254498
commit 15982edd66

View File

@@ -1,28 +1,28 @@
# Maintainer: Michael Kuc <michaelkuc6 at gmail dot com>
pkgname=gccfilter
pkgver=1.0
_pkgname=gccfilter
pkgname=${_pkgname}-git
pkgver=2.0
pkgrel=1
pkgdesc="A filter for gcc diagnostic messages."
arch=('any')
url="https://github.com/Crystalix007/"
url="https://github.com/licheng/gccfilter"
license=(GPL3)
depends=('perl'
'perl-getopt-argvfile'
'perl-regexp-common')
epoch=1
source=('http://www.mixtion.org/gccfilter/gccfilter'
'http://www.mixtion.org/gccfilter/gccfilter.html')
source=("${pkgname}::git+https://github.com/licheng/gccfilter.git")
conflicts=("${_pkgname}")
check() {
cd "$srcdir"
chmod +x gccfilter
./gccfilter
cd "${srcdir}/${pkgname}"
chmod +x ${_pkgname}
./${_pkgname} gcc --version >/dev/null
}
package() {
install -m755 -D "$srcdir/gccfilter" "$pkgdir/usr/bin/$pkgname"
install -m644 -D "$srcdir/gccfilter.html" "$pkgdir/usr/share/doc/$pkgname/README.html"
install -m755 -D "${srcdir}/${pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -m644 -D "${srcdir}/${pkgname}/README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.html"
}
sha256sums=('32878e5443c0dec63f64352ab6c0968329a614e951473319b7eb33b6b89b5a3a'
'32a779c57bcf21d3853f9b05d393697394f4881014e5a2e87412357fd662fe04')
sha256sums=('SKIP')