Skip to content

Commit

Permalink
Added package tufw.
Browse files Browse the repository at this point in the history
  • Loading branch information
mortyr45 committed Aug 22, 2023
1 parent 9828dc6 commit c78c4ff
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ mozc|[Archlinux AUR](https://aur.archlinux.org/packages/mozc)|Japanese input.
rkdeveloptool|[Archlinux AUR](https://aur.archlinux.org/packages/rkdeveloptool)|Development tool for Rockchip SOC.
teamviewer|[Archlinux AUR](https://aur.archlinux.org/packages/teamviewer)|All-In-One Software for Remote Support and Online Meetings.
ttf-ms-fonts|[Archlinux AUR](https://aur.archlinux.org/packages/ttf-ms-fonts)|Core TTF Fonts from Microsoft.
visual-studio-code-bin|[Archlinux AUR](https://aur.archlinux.org/packages/visual-studio-code-bin)|Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)
tufw|Own|Terminal UI for ufw.
visual-studio-code-bin|[Archlinux AUR](https://aur.archlinux.org/packages/visual-studio-code-bin)|Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version).
1 change: 1 addition & 0 deletions build_orders/_all.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
kovacsmiki-repository
archlinux-devtools
auto-cpufreq
tufw
iwgtk
gnome-shell-extension-material-shell
visual-studio-code-bin
Expand Down
21 changes: 21 additions & 0 deletions packages/tufw/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
pkgname=tufw
pkgver=0.2.0
pkgrel=1
arch=('i686' 'x86_64')
url='https://github.com/peltho/tufw'
source=("https://github.com/peltho/tufw/archive/refs/tags/v$pkgver.tar.gz")
depends=('ufw')
makedepends=('go')
b2sums=('6dee3445c651d1e10913ec3d934964dd038cfa75756fb3589019952ff229deb5ef0d9e4b1f82a75babd1c41bd87b1ee4c4468c83f5cbc94813b1cb44557d3892')
pkgdesc="Terminal UI for ufw"
license=('MIT')

build(){
cd "$srcdir/$pkgname-$pkgver"
go build -o "$srcdir/bin/tufw" "./cmd/..."
}

package() {
cd "$srcdir/bin"
install -Dm755 'tufw' "$pkgdir/usr/bin/tufw"
}

0 comments on commit c78c4ff

Please sign in to comment.