tea: initial commit, version 0.9.2
This commit is contained in:
parent
8b4d6d9c3d
commit
99b762fcb3
3
tea/.footprint
Normal file
3
tea/.footprint
Normal file
@ -0,0 +1,3 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/tea
|
5
tea/.signature
Normal file
5
tea/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF37IwqPqVNGQsJuI5o1crMnK/4YW55Ue6ZINgl6ERRfNTDAQgbZqv7lqw04q06NVXWhuhFyxLfssPkvWCHj9n1g8=
|
||||
SHA256 (Pkgfile) = 7aded177a247036247ce63705f9b6671a5b10aaa1c36884df8c8a5685809a7f5
|
||||
SHA256 (.footprint) = 52a35d977890c9cb0054bf4caecd00d696036622325ccd9d8d8205214de182ea
|
||||
SHA256 (tea-0.9.2.tar.gz) = b5a944de8db7d5af4aa87e9640261c925f094d2b6d26c4faf2701773acab219b
|
30
tea/Pkgfile
Normal file
30
tea/Pkgfile
Normal file
@ -0,0 +1,30 @@
|
||||
# Description: A command line tool to interact with Gitea servers
|
||||
# URL: https://gitea.com/gitea/tea
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: go
|
||||
|
||||
name=tea
|
||||
version=0.9.2
|
||||
release=1
|
||||
source=(https://gitea.com/gitea/tea/archive/v$version.tar.gz)
|
||||
renames=($name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name
|
||||
|
||||
export CGO_CPPFLAGS="${CPPFLAGS}"
|
||||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
|
||||
mkdir "$PKGMK_SOURCE_DIR/gopath" || true
|
||||
export GOPATH="$PKGMK_SOURCE_DIR/gopath"
|
||||
|
||||
go build \
|
||||
-trimpath \
|
||||
-buildmode=pie \
|
||||
-mod=readonly \
|
||||
-modcacherw \
|
||||
-o $name .
|
||||
install -Dm755 $name $PKG/usr/bin/$name
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user