Add AUTHORS file and include it in packages
This commit is contained in:
parent
33c65cdc5b
commit
b25fef2657
4 changed files with 15 additions and 5 deletions
6
APKBUILD
6
APKBUILD
|
|
@ -8,7 +8,7 @@ arch="all"
|
|||
license="Apache-2.0"
|
||||
makedepends="clang"
|
||||
subpackages="$pkgname-doc"
|
||||
source="murx.c Makefile murx.1 README.md LICENSE"
|
||||
source="murx.c Makefile murx.1 README.md LICENSE AUTHORS"
|
||||
builddir="$srcdir"
|
||||
|
||||
build() {
|
||||
|
|
@ -22,6 +22,7 @@ check() {
|
|||
package() {
|
||||
make DESTDIR="$pkgdir" PREFIX=/usr install
|
||||
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
|
||||
install -Dm644 AUTHORS "$pkgdir/usr/share/doc/$pkgname/AUTHORS"
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
|
|
@ -29,6 +30,7 @@ sha512sums="
|
|||
efd4dd0bcfd3ef36b1e4b8285452690f684a29e7906c0ada7aa09f879143b998a6e9cb8ddc76eb861867f882c7cb7f5a1fb350ce102e67a632d8ea238eba9b65 murx.c
|
||||
4f52ecfc78bb993f9bdbaa235f671fe54327497fa8e21517805a2696bea9f06d335e4da564d0019ec1fad86986c05bce90e4825dcebc2ef3c0bc66fb9a768030 Makefile
|
||||
523ac85c9b789a7721c76e8f7691a1a8ab43d7fec2624f43b3850e5135451d94404d8711fa40422a67e9f13b7388470436ab06deb6ad7c87c7e72a37492ae617 murx.1
|
||||
cf6f8e5804f3415d1107df1bb921764185076fd005fb25912a2b67a180bd61a5d28b0354299e59e3a399a95d4da3c8e645c8fb862cdf153df5daf92d439b7913 README.md
|
||||
b61f354bdd6ffbbfdf659a0359b7c9e7131230507b527e6d9cf87363e1412fdaa0bac9285bca577863146cc2dc2c3b0a55e09c1eaf63573dfacf871273a581b4 README.md
|
||||
2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE
|
||||
4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS
|
||||
"
|
||||
|
|
|
|||
4
AUTHORS
Normal file
4
AUTHORS
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
murx authors
|
||||
|
||||
Armin Jenewein <a@bsd.pm> - Founder
|
||||
Johannes Findeisen <you@hanez.org> - Contributor
|
||||
6
PKGBUILD
6
PKGBUILD
|
|
@ -8,13 +8,14 @@ url='https://codeberg.org/armin/murx'
|
|||
license=('Apache-2.0')
|
||||
depends=('glibc')
|
||||
makedepends=('clang')
|
||||
source=('murx.c' 'Makefile' 'murx.1' 'README.md' 'LICENSE')
|
||||
source=('murx.c' 'Makefile' 'murx.1' 'README.md' 'LICENSE' 'AUTHORS')
|
||||
sha256sums=(
|
||||
'921e2c446c2ba83192b883411bf2d9686da028374c8a10125086a97aa28e61f4'
|
||||
'1d77a97ff77ce6d876baef98e22b06cfa2109a4ae65cef8b75a91df4c02ad8ac'
|
||||
'f07830b93f78674956a17b108738d52c3d3efd58f431dc29f137cc339d625ee5'
|
||||
'664670a1ebba0e9ca7d41e84c95278deb28dc9e2e6010e86cc10ad5df797cfc7'
|
||||
'0632a549c66584f0f1b0cf315c82e895c2bdef09ffd0d17763a96e383a292d96'
|
||||
'31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4'
|
||||
'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb'
|
||||
)
|
||||
|
||||
build() {
|
||||
|
|
@ -31,5 +32,6 @@ package() {
|
|||
cd "$srcdir"
|
||||
make DESTDIR="$pkgdir" PREFIX=/usr install
|
||||
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
|
||||
install -Dm644 AUTHORS "$pkgdir/usr/share/doc/$pkgname/AUTHORS"
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -396,12 +396,14 @@ This builds the package and installs it through pacman. The recipe lists
|
|||
`x86_64` and `aarch64`; builds run on the current architecture.
|
||||
|
||||
After changing any packaged source file (`murx.c`, `Makefile`, `murx.1`,
|
||||
`README.md` or `LICENSE`), refresh recipe checksums with `abuild checksum`
|
||||
`README.md`, `LICENSE` or `AUTHORS`), refresh recipe checksums with `abuild checksum`
|
||||
on Alpine and `updpkgsums` (from `pacman-contrib`) on Arch. Neither recipe
|
||||
requires a test suite; its check step runs `murx --help` as a smoke check.
|
||||
|
||||
## Authors
|
||||
|
||||
See [AUTHORS](AUTHORS) for project credits.
|
||||
|
||||
- Armin Jenewein - <a@bsd.pm> - Founder
|
||||
- Johannes Findeisen - <you@hanez.org> - Contributor
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue