Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
614fa872
Commit
614fa872
authored
2 years ago
by
Hoang Nguyen
Committed by
alice
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/go-s: new aport
parent
8396f752
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!39304
[3.16] main/expat: security upgrade to 2.4.9
,
!37958
testing/go-s: new aport
Pipeline
#133275
canceled
2 years ago
Stage: verify
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/go-s/APKBUILD
+47
-0
47 additions, 0 deletions
testing/go-s/APKBUILD
with
47 additions
and
0 deletions
testing/go-s/APKBUILD
0 → 100644
+
47
−
0
View file @
614fa872
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
pkgname
=
go-s
pkgver
=
0.6.6
pkgrel
=
0
pkgdesc
=
"Open a web search in the terminal"
url
=
"https://github.com/zquestz/s"
arch
=
"all"
license
=
"MIT"
makedepends
=
"go"
subpackages
=
"
$pkgname
-bash-completion
$pkgname
-zsh-completion
$pkgname
-fish-completion
"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/zquestz/s/archive/refs/tags/v
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/s-
$pkgver
"
export
GOCACHE
=
"
$srcdir
/go-cache"
export
GOTMPDIR
=
"
$srcdir
"
export
GOMODCACHE
=
"
$srcdir
/go"
build
()
{
go build
-v
-o
s
.
./s
--completion
bash
>
s.bash
./s
--completion
zsh
>
s.zsh
./s
--completion
fish
>
s.fish
}
check
()
{
go
test
./...
}
package
()
{
install
-Dm755
s
-t
"
$pkgdir
"
/usr/bin
install
-Dm644
s.bash
\
"
$pkgdir
"
/usr/share/bash-completion/completions/s
install
-Dm644
s.zsh
\
"
$pkgdir
"
/usr/share/zsh/site-functions/_s
install
-Dm644
s.fish
\
"
$pkgdir
"
/usr/share/fish/completions/s.fish
}
sha512sums
=
"
c8925499db09fa67dac63dc6f720bc166ed8f074797efdee012bf90e556e11cc4e649f0cfbc73ae3ef92f25be2f3595e87ed46a0ead1f9008405a2eaa4f98de5 go-s-0.6.6.tar.gz
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment