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
d58110bf
Commit
d58110bf
authored
7 years ago
by
tmpfile
Committed by
Natanael Copa
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
community/asciinema: modernize abuild
parent
2aa214e3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/asciinema/APKBUILD
+7
-18
7 additions, 18 deletions
community/asciinema/APKBUILD
with
7 additions
and
18 deletions
community/asciinema/APKBUILD
+
7
−
18
View file @
d58110bf
...
...
@@ -14,30 +14,19 @@ subpackages="$pkgname-doc"
options
=
"!strip"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/
$pkgname
/
$pkgname
/archive/v
$pkgver
.tar.gz"
_builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
prepare
()
{
local
i
cd
"
$_builddir
"
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
}
builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
build
()
{
cd
"
$
_
builddir
"
export
GOPATH
=
"
$
_
builddir
"
cd
"
$builddir
"
export
GOPATH
=
"
$builddir
"
mkdir
-p
src/github.com/asciinema
ln
-s
"
$
_
builddir
"
src/github.com/asciinema/asciinema
make build
||
return
1
ln
-s
"
$builddir
"
src/github.com/asciinema/asciinema
make build
}
package
()
{
cd
"
$
_
builddir
"
PREFIX
=
"
$pkgdir
"
/usr make
install
||
return
1
cd
"
$builddir
"
PREFIX
=
"
$pkgdir
"
/usr make
install
}
md5sums
=
"f61680ca17328ed43b61a24b1c267e29 asciinema-1.2.0.tar.gz"
sha256sums
=
"64b8c2b034945a99398c5593fd8831c6448fd3b6dd788a979582805bfdcb5746 asciinema-1.2.0.tar.gz"
sha512sums
=
"b172fa2c122ce6d4191d898292f70b462f18c9436a7a95b56a3d4405f66a4003d52877b5d632a829f94704f7d8a07c1202f1d3059e1eec6b583b63daf90a9006 asciinema-1.2.0.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