diff options
author | Thomas Pellegatta | 2024-01-21 10:40:21 +0100 |
---|---|---|
committer | Thomas Pellegatta | 2024-01-21 10:40:21 +0100 |
commit | 28a4af1e9a4179189d073e2cf131c3c9f846c0d6 (patch) | |
tree | 15f6184147f1622983b053c45f2fa04c57afd355 | |
parent | 5a1e1bfab2e3842e1fe900dc646504575e5be385 (diff) | |
download | aur-28a4af1e9a4179189d073e2cf131c3c9f846c0d6.tar.gz |
Update version
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 23 insertions, 33 deletions
@@ -1,14 +1,14 @@ -pkgbase = tufw-git +pkgbase = tufw-bin pkgdesc = Terminal UI for ufw - pkgver = v0.1.0.r2.g5f4efdb + pkgver = 0.2.2 pkgrel = 1 url = https://github.com/peltho/tufw - arch = i686 - arch = x86_64 license = MIT - makedepends = go depends = ufw - source = git+git://github.com/peltho/tufw - sha1sums = SKIP - -pkgname = tufw-git + conflicts = tufw + provides = tufw + arch = x86_64 + source_x86_64 = https://github.com/peltho/tufw/releases/download/v0.2.2/tufw_0.2.2_linux_amd64.tar.gz + sha256sums_x86_64 = 03c5a5a32b98ec38c1d973862271ed084e3dd93b68538e832b71912eb9109e21 + +pkgname = tufw-bin @@ -1,30 +1,20 @@ -pkgname=tufw-git -_pkgname=tufw -pkgver=v0.1.0.r2.g5f4efdb +# This file was generated by GoReleaser. DO NOT EDIT. +# Maintainer: Thomas Pellegatta <pellegatta.thomas@gmail.com> + +pkgname='tufw-bin' +pkgver=0.2.2 pkgrel=1 -arch=('i686' 'x86_64') +pkgdesc='Terminal UI for ufw' url='https://github.com/peltho/tufw' -source=('git+git://github.com/peltho/tufw') -depends=('ufw') -makedepends=('go') -sha1sums=('SKIP') -pkgdesc="Terminal UI for ufw" +arch=('x86_64') license=('MIT') +provides=('tufw') +conflicts=('tufw') +depends=('ufw') -pkgver() { - cd "$srcdir/$_pkgname" - ( set -o pipefail - git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" - ) -} - -build(){ - cd "$srcdir/$_pkgname" - GO111MODULE=on go build -o "$srcdir/bin/tufw" "./cmd/..." -} +source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/peltho/tufw/releases/download/v0.2.2/tufw_0.2.2_linux_amd64.tar.gz") +sha256sums_x86_64=('03c5a5a32b98ec38c1d973862271ed084e3dd93b68538e832b71912eb9109e21') package() { - cd "$srcdir/bin" - install -Dm755 'tufw' "$pkgdir/usr/bin/tufw" -} + install -Dm755 "./tufw" "${pkgdir}/usr/bin/tufw" +}
\ No newline at end of file |