Date: Monday, February 7, 2022 @ 19:27:50 Author: spupykin Revision: 1128562
archrelease: copy trunk to community-x86_64 Added: musl/repos/community-x86_64/PKGBUILD (from rev 1128561, musl/trunk/PKGBUILD) Deleted: musl/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 73 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-07 19:27:28 UTC (rev 1128561) +++ PKGBUILD 2022-02-07 19:27:50 UTC (rev 1128562) @@ -1,36 +0,0 @@ -# Maintainer: Sergej Pupykin <arch+...@sergej.pp.ru> -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> -# Contributor: TJ Vanderpoel <tj@rubyists> - -pkgname=musl -pkgver=1.2.2 -pkgrel=1 -pkgdesc='Lightweight implementation of C standard library' -arch=('x86_64') -url='https://www.musl-libc.org/' -license=('MIT') -options=('staticlibs' '!buildflags') -validpgpkeys=('836489290BB6B70F99FFDA0556BCDB593020450F') -source=(https://www.musl-libc.org/releases/musl-$pkgver.tar.gz{,.asc}) -sha256sums=('9b969322012d796dc23dda27a35866034fa67d8fb67e0e2c45c913c3d43219dd' - 'SKIP') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr/lib/musl \ - --exec-prefix=/usr \ - --enable-wrapper=all - make -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install - - # configure syslibdir with /lib for PT_INTERP compat, but install to /usr/lib - mv "$pkgdir"/lib/ld-musl*.so* "$pkgdir"/usr/lib/ - rmdir "$pkgdir"/lib - - install -Dm0644 README "$pkgdir"/usr/share/doc/musl/README - install -Dm0644 COPYRIGHT "$pkgdir"/usr/share/licenses/musl/COPYRIGHT -} Copied: musl/repos/community-x86_64/PKGBUILD (from rev 1128561, musl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-07 19:27:50 UTC (rev 1128562) @@ -0,0 +1,37 @@ +# Maintainer: Sergej Pupykin <arch+...@sergej.pp.ru> +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> +# Contributor: TJ Vanderpoel <tj@rubyists> + +pkgname=musl +pkgver=1.2.2 +pkgrel=2 +pkgdesc='Lightweight implementation of C standard library' +arch=('x86_64') +url='https://www.musl-libc.org/' +license=('MIT') +options=('staticlibs' '!buildflags') +validpgpkeys=('836489290BB6B70F99FFDA0556BCDB593020450F') +source=(https://www.musl-libc.org/releases/musl-$pkgver.tar.gz{,.asc}) +sha256sums=('9b969322012d796dc23dda27a35866034fa67d8fb67e0e2c45c913c3d43219dd' + 'SKIP') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr/lib/musl \ + --exec-prefix=/usr \ + --enable-wrapper=all \ + CFLAGS="-ffat-lto-objects" + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + + # configure syslibdir with /lib for PT_INTERP compat, but install to /usr/lib + mv "$pkgdir"/lib/ld-musl*.so* "$pkgdir"/usr/lib/ + rmdir "$pkgdir"/lib + + install -Dm0644 README "$pkgdir"/usr/share/doc/musl/README + install -Dm0644 COPYRIGHT "$pkgdir"/usr/share/licenses/musl/COPYRIGHT +}