Date: Tuesday, April 16, 2019 @ 01:59:17 Author: eschwartz Revision: 451748
archrelease: copy trunk to community-x86_64 Added: musl/repos/community-x86_64/PKGBUILD (from rev 451747, musl/trunk/PKGBUILD) Deleted: musl/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 67 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 35 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-04-16 01:58:52 UTC (rev 451747) +++ PKGBUILD 2019-04-16 01:59:17 UTC (rev 451748) @@ -1,32 +0,0 @@ -# Maintainer: Sergej Pupykin <arch+...@sergej.pp.ru> -# Contributor: TJ Vanderpoel <tj@rubyists> - -pkgname=musl -pkgver=1.1.22 -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=('8b0941a48d2f980fd7036cfbd24aa1d414f03d9a0652ecbd5ec5c7ff1bee29e3' - 'SKIP') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr/lib/musl \ - --exec-prefix=/usr \ - --syslibdir=/usr/lib \ - --enable-wrapper=all - make -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install - - 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 451747, musl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-04-16 01:59:17 UTC (rev 451748) @@ -0,0 +1,35 @@ +# Maintainer: Sergej Pupykin <arch+...@sergej.pp.ru> +# Contributor: TJ Vanderpoel <tj@rubyists> + +pkgname=musl +pkgver=1.1.22 +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=('8b0941a48d2f980fd7036cfbd24aa1d414f03d9a0652ecbd5ec5c7ff1bee29e3' + '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 +}