From: abenson <abenson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: New package: libdpp-10.0.10
Date: Thu, 16 Jun 2022 17:43:30 +0200 [thread overview]
Message-ID: <20220616154330.QzeBqwRPx55qTQFArKSrkHnDU4jZ8UR7oYoroxjt_2I@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37554@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1178 bytes --]
New comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/37554#issuecomment-1157814389
Comment:
Moving everything to a patch cleans up the template quite a bit. Place [use-system-libraries.txt](https://github.com/void-linux/void-packages/files/8920339/use-system-libraries.txt) at `srcpkgs/libdpp/patches/use-system-libraries.patch` and then you can clean up the rest the template as follows:
`post_extract()` can be simplified to
```
post_extract() {
rm -r usr/include/dpp/fmt
rm -r usr/include/dpp/nlohmann
}
```
`do_clean()` should be
```
post_install() {
vmkdir usr/lib/cmake/dpp
mv ${DESTDIR}/usr/lib/*.cmake ${DESTDIR}/usr/lib/cmake/dpp
rm -r "${DESTDIR}/usr/lib/dpp-${version%.*}"
rm -r "${DESTDIR}/usr/include/dpp-${version%.*}"
}
```
and `libdpp-devel_package()` should be
```
libdpp-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}-${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/pkgconfig
vmove usr/lib/cmake/dpp
vmove usr/include
vmove "usr/lib/*.so"
}
}
```
next prev parent reply other threads:[~2022-06-16 15:43 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-14 11:19 [PR PATCH] " JuniorSuperTux
2022-06-14 11:37 ` [PR PATCH] [Updated] [WIP] " JuniorSuperTux
2022-06-14 11:41 ` JuniorSuperTux
2022-06-14 11:48 ` JuniorSuperTux
2022-06-14 11:50 ` JuniorSuperTux
2022-06-14 12:00 ` JuniorSuperTux
2022-06-14 12:28 ` JuniorSuperTux
2022-06-14 12:35 ` JuniorSuperTux
2022-06-15 22:29 ` [PR REVIEW] " classabbyamp
2022-06-15 22:29 ` classabbyamp
2022-06-15 22:29 ` classabbyamp
2022-06-15 22:30 ` classabbyamp
2022-06-15 23:25 ` [PR PATCH] [Updated] " JuniorSuperTux
2022-06-15 23:36 ` [PR REVIEW] " JuniorSuperTux
2022-06-15 23:48 ` [PR PATCH] [Updated] " JuniorSuperTux
2022-06-15 23:48 ` JuniorSuperTux
2022-06-15 23:51 ` JuniorSuperTux
2022-06-15 23:56 ` JuniorSuperTux
2022-06-16 0:02 ` JuniorSuperTux
2022-06-16 0:06 ` JuniorSuperTux
2022-06-16 0:17 ` JuniorSuperTux
2022-06-16 1:45 ` classabbyamp
2022-06-16 1:48 ` [PR REVIEW] " classabbyamp
2022-06-16 14:49 ` abenson
2022-06-16 14:50 ` abenson
2022-06-16 14:50 ` abenson
2022-06-16 14:51 ` abenson
2022-06-16 15:00 ` abenson
2022-06-16 15:02 ` abenson
2022-06-16 15:25 ` abenson
2022-06-16 15:43 ` abenson [this message]
2022-06-16 15:45 ` abenson
2022-06-16 15:45 ` abenson
2022-06-16 15:46 ` abenson
2022-06-17 5:58 ` [PR REVIEW] " JuniorSuperTux
2022-06-17 11:19 ` JuniorSuperTux
2022-06-18 7:17 ` [PR PATCH] [Updated] " JuniorSuperTux
2022-06-18 7:27 ` abenson
2022-06-18 7:28 ` [PR PATCH] [Updated] " JuniorSuperTux
2022-06-18 7:29 ` JuniorSuperTux
2022-06-18 11:55 ` JuniorSuperTux
2022-06-18 11:55 ` JuniorSuperTux
2022-06-18 13:00 ` classabbyamp
2022-06-23 15:37 ` [PR PATCH] [Updated] " JuniorSuperTux
2022-06-23 15:38 ` JuniorSuperTux
2022-06-23 16:24 ` classabbyamp
2022-07-03 5:22 ` [PR PATCH] [Updated] " JuniorSuperTux
2022-07-03 5:22 ` JuniorSuperTux
2022-07-03 6:08 ` JuniorSuperTux
2022-07-05 12:29 ` JuniorSuperTux
2022-07-05 14:11 ` [PR REVIEW] " paper42
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220616154330.QzeBqwRPx55qTQFArKSrkHnDU4jZ8UR7oYoroxjt_2I@z \
--to=abenson@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).