diff options
author | Jan Dvorak | 2022-02-20 01:28:04 +0100 |
---|---|---|
committer | Jan Dvorak | 2022-02-20 01:28:04 +0100 |
commit | 3bec5ec5aaf5ba5a9b414845a4735c7de28a5cb5 (patch) | |
tree | 87c8fdcf209e6b061d65badae6d564811b40e23f | |
download | aur-3bec5ec5aaf5ba5a9b414845a4735c7de28a5cb5.tar.gz |
initial commit 3.3.6
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b17b3bb38d7b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = libstdc++5-bin + pkgdesc = The GNU Standard C++ Library v3. This package contains an additional runtime library for C++ programs built with the GNU compiler. + pkgver = 3.3.6 + pkgrel = 32 + url = https://packages.debian.org/bullseye/libstdc++5 + arch = x86_64 + license = GPL + depends = gcc>=3.3.4 + depends = glibc>=2.14 + provides = libstdc++5 + conflicts = libstdc++5 + source = libstdc++5_3.3.6-32_amd64.deb::http://ftp.de.debian.org/debian/pool/main/g/gcc-3.3/libstdc++5_3.3.6-32_amd64.deb + sha256sums = 5d720d22b4c9f92c6fa48a3b3531a61d54ea1212f25553b16cd2d7a30a4b2a66 + +pkgname = libstdc++5-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ce5c22862299 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Jan Dvorak <(firstname).(lastname) @ dvorak-sw.com> +pkgname=libstdc++5-bin +_pkgname=libstdc++5 +pkgver=3.3.6 +pkgrel=32 +pkgdesc="The GNU Standard C++ Library v3. This package contains an additional runtime library for C++ programs built with the GNU compiler." +arch=('x86_64') +url="https://packages.debian.org/bullseye/libstdc++5" +license=('GPL') +depends=('gcc>=3.3.4' 'glibc>=2.14') +conflicts=("${_pkgname}") +provides=("${_pkgname}") +source=("libstdc++5_3.3.6-32_amd64.deb::http://ftp.de.debian.org/debian/pool/main/g/gcc-3.3/libstdc++5_3.3.6-32_amd64.deb") +sha256sums=('5d720d22b4c9f92c6fa48a3b3531a61d54ea1212f25553b16cd2d7a30a4b2a66') +package() { + # Extract package data + cd ${srcdir} + tar xf data.tar.xz -C "${pkgdir}" + + # Install binary files + mv "${pkgdir}/usr/lib/x86_64-linux-gnu/libstdc++.so.5.0.7" "${pkgdir}"/usr/lib + ln -s libstdc++.so.5.0.7 "${pkgdir}/usr/lib/libstdc++.so.5" + rm -rf "${pkgdir}/usr/lib/x86_64-linux-gnu" + + # Install license file + install -Dm644 "${pkgdir}/usr/share/doc/${_pkgname}/copyright" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" + + # Fix permissions + chown root:root -R "${pkgdir}" + chmod -R go-w "${pkgdir}" + chmod 755 "${pkgdir}/usr/lib/libstdc++.so.5.0.7" +} |