29 lines
727 B
Bash
29 lines
727 B
Bash
# Maintainer: Michael Kuc <michaelkuc6 at gmail dot com>
|
|
_pkgname=gccfilter
|
|
pkgname=${_pkgname}-git
|
|
pkgver=2.0
|
|
pkgrel=1
|
|
pkgdesc="A filter for gcc diagnostic messages."
|
|
arch=('any')
|
|
url="https://github.com/licheng/gccfilter"
|
|
license=(GPL3)
|
|
depends=('perl'
|
|
'perl-getopt-argvfile'
|
|
'perl-regexp-common')
|
|
epoch=1
|
|
source=("${pkgname}::git+https://github.com/licheng/gccfilter.git")
|
|
conflicts=("${_pkgname}")
|
|
|
|
check() {
|
|
cd "${srcdir}/${pkgname}"
|
|
chmod +x ${_pkgname}
|
|
./${_pkgname} gcc --version >/dev/null
|
|
}
|
|
|
|
package() {
|
|
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=('SKIP')
|