crux-ports

My CRUX Linux ports
Log | Files | Refs | README

commit ecfd3f8abde7d35feb2a3fe016f2ef113b19c804
parent 0a8c73ef60ddc44f2b2bc8c6783791e59c9bc7a4
Author: Shokara Kou <kou@13f0.net>
Date:   Sat, 23 Apr 2022 20:49:34 -0400

add age

Diffstat:
Aage/.footprint | 9+++++++++
Aage/.md5sum | 1+
Aage/Pkgfile | 26++++++++++++++++++++++++++
3 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/age/.footprint b/age/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/age +-rwxr-xr-x root/root usr/bin/age-keygen +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/age-keygen.1.gz +-rw-r--r-- root/root usr/share/man/man1/age.1.gz diff --git a/age/.md5sum b/age/.md5sum @@ -0,0 +1 @@ +f0c33cd6ed36890496ae6617fb523037 v1.0.0.tar.gz diff --git a/age/Pkgfile b/age/Pkgfile @@ -0,0 +1,26 @@ +# Description: DESCRIPTION +# URL: https://age-encryption.org/ +# Maintainer: Shokara Kou, kou at 13f0 dot net +# Depends on: go + +name=age +version=1.0.0 +release=1 +source=(https://github.com/FiloSottile/age/archive/refs/tags/v$version.tar.gz) + +build() { + cd $name-$version + + mkdir build + go build \ + -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -o build ./... + + install -Dm755 build/age -t $PKG/usr/bin/ + install -Dm755 build/age-keygen -t $PKG/usr/bin/ + install -Dm644 doc/age.1 -t $PKG/usr/share/man/man1/ + install -Dm644 doc/age-keygen.1 -t $PKG/usr/share/man/man1/ +}