diff options
author | Dimitris Kiziridis | 2020-05-09 02:56:08 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-05-09 02:56:08 +0300 |
commit | daf98a8efae5b467069a38e91977bc8314bc704f (patch) | |
tree | 2d521c798e1cb5340debe7afa0fb969bd434a033 | |
parent | 59ba81b098496a20ed87c76f6a50d0e372e5ed4f (diff) | |
download | aur-daf98a8efae5b467069a38e91977bc8314bc704f.tar.gz |
sanitize pkgbuild
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 12 insertions, 11 deletions
@@ -1,15 +1,16 @@ pkgbase = apicompat-git pkgdesc = Checks recent changes to a Go project for backwards incompatible changes pkgver = r125.5f916b1 - pkgrel = 2 + pkgrel = 3 url = https://abicheck.bradleyf.id.au arch = x86_64 license = MIT makedepends = git - makedepends = go + makedepends = go-pie + depends = glibc provides = apicompat source = git+https://github.com/bradleyfalzon/apicompat - md5sums = SKIP + sha256sums = SKIP pkgname = apicompat-git @@ -3,23 +3,23 @@ pkgname=apicompat-git _pkgname=apicompat pkgver=r125.5f916b1 -pkgrel=2 +pkgrel=3 pkgdesc="Checks recent changes to a Go project for backwards incompatible changes" arch=('x86_64') url='https://abicheck.bradleyf.id.au' license=('MIT') provides=('apicompat') -makedepends=('git' 'go') +depends=('glibc') +makedepends=('git' 'go-pie') source=("git+https://github.com/bradleyfalzon/apicompat") -md5sums=('SKIP') +sha256sums=('SKIP') pkgver() { cd "${srcdir}/${_pkgname}" - ( set -o pipefail - git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ( set -o pipefail + git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" ) - } prepare() { @@ -40,6 +40,6 @@ build() { package() { cd "${srcdir}/${_pkgname}" install -Dm755 ../${_pkgname}-bin "${pkgdir}/usr/bin/${_pkgname}" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" go clean -modcache #Remove go libraries }
\ No newline at end of file |