summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: af8600e76594406b3b15536849ab04b24cc6a37f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Abhinav Gupta <mail@abhinavg.net>

pkgname='doc2go-bin'
pkgver=0.8.1
pkgrel=1
pkgdesc='Your Go documentation, to-go.'
url='https://github.com/abhinav/doc2go'
arch=('aarch64' 'armv6h' 'armv7h' 'i686' 'x86_64')
license=('Apache')
provides=('doc2go')
conflicts=('doc2go')

source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/abhinav/doc2go/releases/download/v0.8.1/doc2go-linux-arm64.tar.gz")
sha256sums_aarch64=('522c4fe89f15099a348ffb5798fbc8eab73241fc352c5869ad12259bbff0f605')

source_armv6h=("${pkgname}_${pkgver}_armv6h.tar.gz::https://github.com/abhinav/doc2go/releases/download/v0.8.1/doc2go-linux-armv6.tar.gz")
sha256sums_armv6h=('78b7a0c506c6c226eebff317f1752ae96dcb3498246abbb0de717ab908930130')

source_armv7h=("${pkgname}_${pkgver}_armv7h.tar.gz::https://github.com/abhinav/doc2go/releases/download/v0.8.1/doc2go-linux-armv7.tar.gz")
sha256sums_armv7h=('f640345b2c2d4f763ff47dbb177e4487b162e2d6730586e2cd65e989eec28380')

source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/abhinav/doc2go/releases/download/v0.8.1/doc2go-linux-386.tar.gz")
sha256sums_i686=('1d374c9ea58f0cec61911ab72e946bb67c2494043f09063318e3b103436907f4')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/abhinav/doc2go/releases/download/v0.8.1/doc2go-linux-amd64.tar.gz")
sha256sums_x86_64=('8cbba7120c35e1365917a8ecaf56daa11a0e88a1c78f7d34b04d608f2ae290a6')

package() {
  install -Dm755 "./doc2go" "${pkgdir}/usr/bin/doc2go"
  install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/doc2go/LICENSE"
  install -Dm644 "./README.md" "${pkgdir}/usr/share/doc/doc2go/README.md"
  install -Dm644 "./CHANGELOG.md" "${pkgdir}/usr/share/doc/doc2go/CHANGELOG.md"
}