Created
September 28, 2021 23:35
-
-
Save bartimaeus/c37afef2f8cc4b04a36a0d53b6d1f3e1 to your computer and use it in GitHub Desktop.
Build the latest commit of https://github.com/TylerBrock/saw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Tyler Brock <[email protected]> | |
pkgname=saw | |
pkgver=b37c70de306768a0d54e5b97e46690b1f99cf1d0 | |
pkgrel=1 | |
pkgdesc="Fast, multipurpose tool for AWS CloudWatch Logs" | |
arch=('i686' 'x86_64' 'armv6h' 'armv7h') | |
provides=('saw') | |
url="https://github.com/TylerBrock/$pkgname" | |
license=('MIT') | |
makedepends=('go' 'git') | |
source=("https://github.com/TylerBrock/saw/archive/$pkgver.zip") | |
md5sums=('ef4a0ac44be470803de8a0d1830f6c1f') | |
build() { | |
cd "$pkgname-$pkgver" | |
go get | |
go build . | |
} | |
package() { | |
cd "$pkgname-$pkgver" | |
install -Dm755 saw $pkgdir/usr/bin/$pkgname | |
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment