diff options
author | Sebastiaan Lokhorst | 2018-05-18 02:43:55 +0200 |
---|---|---|
committer | Sebastiaan Lokhorst | 2018-05-18 02:43:55 +0200 |
commit | 95287c59c3e8efb7deb231cc04e6d5ee01101c5b (patch) | |
tree | bda0483e8e1e47e9426895f4074063d349447501 | |
parent | 697be259f3bd23aa82cef48409e2e050b21be76f (diff) | |
download | aur-95287c59c3e8efb7deb231cc04e6d5ee01101c5b.tar.gz |
Minor cleanup
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 19 insertions, 21 deletions
@@ -134,33 +134,31 @@ package_gcc6-libs() { libquadmath \ libsanitizer/{a,l,ub}san \ libstdc++-v3/src \ - libvtv; do - make -C $CHOST/$lib DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES - done + libvtv + do + make -C $CHOST/$lib DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES + done - if [[ $CARCH == "x86_64" ]]; then - make -C $CHOST/libsanitizer/tsan DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES - fi + make -C $CHOST/libsanitizer/tsan DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES - make -C $CHOST/libobjc DESTDIR=${pkgdir} install-libs - make -C $CHOST/libstdc++-v3/po DESTDIR=${pkgdir} install - make -C $CHOST/libmpx DESTDIR=${pkgdir} install - rm ${pkgdir}/${_libdir}/libmpx.spec + make -C $CHOST/libobjc DESTDIR=${pkgdir} install-libs + make -C $CHOST/libstdc++-v3/po DESTDIR=${pkgdir} install + make -C $CHOST/libmpx DESTDIR=${pkgdir} install + rm ${pkgdir}/${_libdir}/libmpx.spec - for lib in libgomp \ - libitm \ - libquadmath; do - make -C $CHOST/$lib DESTDIR=${pkgdir} install-info - done + for lib in libgomp libitm libquadmath + do + make -C $CHOST/$lib DESTDIR=${pkgdir} install-info + done - # Lazy way of dealing with conflicting files... - rm -rf ${pkgdir}/usr/share/{info,locale,man} + # Lazy way of dealing with conflicting files... + rm -rf ${pkgdir}/usr/share/{info,locale,man} - # Remove libs that conflict with gcc6_go. - rm -rf ${pkgdir}/${_libdir}/libgo* + # Remove libs that conflict with gcc6_go. + rm -rf ${pkgdir}/${_libdir}/libgo* - # Install Runtime Library Exception - install -Dm644 ${srcdir}/gcc/COPYING.RUNTIME \ + # Install Runtime Library Exception + install -Dm644 ${srcdir}/gcc/COPYING.RUNTIME \ ${pkgdir}/usr/share/licenses/$pkgname/RUNTIME.LIBRARY.EXCEPTION } |