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
3a9982f1
Commit
3a9982f1
authored
3 years ago
by
Jakub Jirutka
Browse files
Options
Downloads
Patches
Plain Diff
testing/greetd: use new makefile for building/installing man pages
parent
0d47f293
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/greetd/APKBUILD
+4
-12
4 additions, 12 deletions
testing/greetd/APKBUILD
with
4 additions
and
12 deletions
testing/greetd/APKBUILD
+
4
−
12
View file @
3a9982f1
...
...
@@ -16,7 +16,7 @@ source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~kennylevinsen/greetd/archive
$pkgname
.pam
$pkgname
.initd
$pkgname
.confd
001-change-greetd-runas
.patch
config
.patch
"
builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
...
...
@@ -24,13 +24,7 @@ export RUSTFLAGS="--remap-path-prefix=$builddir=/build/"
build
()
{
cargo build
--release
--locked
local
dst src
for
src
in
man/
*
.scd
;
do
dst
=
${
src
%.scd
}
;
dst
=
${
dst
%-*
}
.
${
dst
##*-
}
# foo-1.scd -> foo.1
scdoc <
$src
>
$dst
done
make
-C
man
}
check
()
{
...
...
@@ -47,9 +41,7 @@ package() {
install
-Dm755
"
$srcdir
"
/
$pkgname
.initd
"
$pkgdir
"
/etc/init.d/
$pkgname
install
-Dm644
"
$srcdir
"
/
$pkgname
.confd
"
$pkgdir
"
/etc/conf.d/
$pkgname
local
i
;
for
i
in
man/
*
.[0-9]
;
do
install
-Dm644
$i
"
$pkgdir
"
/usr/share/man/man
${
i
##*.
}
/
${
i
##*/
}
done
make
-C
man
install
PREFIX
=
/usr
DESTDIR
=
"
$pkgdir
"
}
agreety
()
{
...
...
@@ -64,5 +56,5 @@ sha512sums="
0f786b639223bf52445b7248756bc2e83a450a81e0750f853b70095a0438edb0c40ecc50df42cdb82838a068202787d5286ca5ebc363e6e1c4e969f122df5dfa greetd.pam
b3a035901fa2ec5a1652e9c9660d204f074b68311508464976cdf70925f2614c8eb0866563f2b09257bd5b79cb149e12abe723abce4911ce6668d4f1bc4582ba greetd.initd
f6c5d5755fb8cca3d45d6879557fb7fc85c40879bc570e6c9aac462ce9133a2fa0a03cbac1e598f8162a9136d3e6020cea808e16e1797f4d37d4cf7dfc94c11c greetd.confd
90a8b0e836fa29dd143ba08b0f9824403acddda2c964217e999aef2272ad7acda2da2b914ee35db7a365423cc0fccfb61521df7b6519fa9e5b6356ff1ae8b801 001-change-greetd-runas
.patch
da49e5993e2189567d0661ea63a69dafb650ab4a1dfebdfa346dff2e2c195d1d8fdb1f2cd4f9f64b26fd2c0b453df2886cd19d6afc59680b6fb4c54eab97c729 config
.patch
"
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