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