diff options
author | Daniel Peukert | 2020-05-01 00:38:17 +0200 |
---|---|---|
committer | Daniel Peukert | 2020-05-01 00:38:17 +0200 |
commit | 1ca4dff37697d44ec6ced2be1f77518e15033feb (patch) | |
tree | de8edeebb0a4ea0e6add42da5dce516bb424d276 /PKGBUILD | |
parent | 3805be0adef94ee896b1f435cc6afdf8eb7172f4 (diff) | |
download | aur-1ca4dff37697d44ec6ced2be1f77518e15033feb.tar.gz |
Updated certspotter to 0.10 and added a patch
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 15 insertions, 7 deletions
@@ -1,8 +1,8 @@ # Maintainer: Daniel Peukert <dan.peukert@gmail.com> _pkgname='certspotter' pkgname="$_pkgname-git" -pkgver='0.9.r17.ge74cb79' -pkgrel='3' +pkgver='0.10.r0.gb01baf8' +pkgrel='1' pkgdesc='Certificate Transparency Log Monitor - git version' arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64') url="https://github.com/SSLMate/$_pkgname" @@ -10,18 +10,26 @@ license=('MPL2') makedepends=('git' 'go-pie>=1.5' 'golang-github-mreiferson-go-httpclient' 'golang-golang-x-net') provides=("$_pkgname") conflicts=("$_pkgname") -source=("$pkgname::git+$url") -sha256sums=('SKIP') - +source=( + "$pkgname::git+$url" + "$pkgname-fix-missing-printf.diff::$url/commit/6d5e2395a13267cbcc5813091586fe6d6a6c37cf.diff" +) +sha256sums=('SKIP' + '7e6334317092f60d102e4ee4b536565f1417871d2070607cd272cf8dd9a39c60') + +_sourcedirectory="$pkgname" _builddir="$pkgname-build" _buildpath="src/software.sslmate.com/src/$_pkgname" _bindir="$pkgname-bin" prepare() { - cd "$srcdir/" + cd "$srcdir/$_sourcedirectory/" + # https://github.com/SSLMate/certspotter/pull/40 + patch --forward -p1 < "$srcdir/$pkgname-fix-missing-printf.diff" + cd "$srcdir/" mkdir -p "$_builddir/$(echo "$_buildpath" | rev | cut -d '/' -f 2- | rev)/" - mv "$pkgname/" "$_builddir/$_buildpath/" + mv "$_sourcedirectory/" "$_builddir/$_buildpath/" mkdir -p "$_bindir/" } |