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
3099f162
Commit
3099f162
authored
3 years ago
by
Jakub Jirutka
Browse files
Options
Downloads
Patches
Plain Diff
testing/sad: new aport
parent
5d0c9c08
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/sad/APKBUILD
+44
-0
44 additions, 0 deletions
testing/sad/APKBUILD
with
44 additions
and
0 deletions
testing/sad/APKBUILD
0 → 100644
+
44
−
0
View file @
3099f162
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname
=
sad
pkgver
=
0.4.14
pkgrel
=
0
pkgdesc
=
"CLI search and replace - a batch file edit tool"
url
=
"https://github.com/ms-jpq/sad"
arch
=
"aarch64 armhf armv7 ppc64le x86 x86_64"
# limited by rust/cargo
license
=
"MIT"
makedepends
=
"cargo"
source
=
"https://github.com/ms-jpq/sad/archive/v
$pkgver
/sad-
$pkgver
.tar.gz"
prepare
()
{
default_prepare
# Reduce binary size.
cat
>>
Cargo.toml
<<-
EOF
[profile.release]
codegen-units = 1
lto = true
opt-level = "z"
panic = "abort"
EOF
cargo fetch
--locked
}
build
()
{
cargo build
--release
--frozen
}
check
()
{
cargo
test
--frozen
}
package
()
{
cargo
install
--locked
--offline
--path
.
--root
=
"
$pkgdir
/usr"
rm
"
$pkgdir
"
/usr/.crates
*
}
sha512sums
=
"
a604933edf264ada531d12ec8442be1e275dd5ec76f4bc53fa4cbd24e4debebc8bab2a7ba4facbb97887e6e7f378892dd2079eb75107547c6509672ff7ee778a sad-0.4.14.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