remove already done or not needed packages

This commit is contained in:
sukanka 2022-07-10 00:47:13 +08:00
parent 8224d38690
commit 6964223bb6
12 changed files with 0 additions and 270 deletions

View file

@ -1,72 +0,0 @@
# Maintainer: JustKidding <jk@vin.ovh>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libstdc++5
pkgver=3.3.6
pkgrel=9
pkgdesc="GNU Standard C++ library version 3"
arch=('x86_64')
url="https://gcc.gnu.org"
license=('GPL' 'LGPL')
depends=('gcc-libs')
makedepends=('gcc' 'binutils')
options=('!makeflags')
source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++}-${pkgver}.tar.bz2
gcc-3.4.3-no_multilib_amd64.patch
gcc-3.4.6-ucontext.patch
siginfo.patch)
md5sums=('18c52e6fb8966b7700665dca289d077f'
'6b3d00b8d079805be1b895f7f6ce47a0'
'8504bb22dae9d49e8b6d70d7e6910f1b'
'982ec78eed2887657189aefbe0c642d0'
'bf36b281a9fc81f624f31f2623a3ad0e')
prepare() {
cd gcc-$pkgver
patch -Np1 -i $srcdir/gcc-3.4.3-no_multilib_amd64.patch
# fix build issue with recent gcc
sed -i "s#O_CREAT#O_CREAT, 0666#" gcc/collect2.c
# No fixincludes
sed -e 's@\./fixinc\.sh@-c true@' \
-e '# Clean up some warnings that arent our business' \
-e 's:-Wstrict-prototypes::g' \
-e 's:-Wtraditional::g' \
-e 's:-pedantic::g' \
-e 's:-Wall::g' \
-i 'gcc/Makefile.in'
sed -e 's:-Wall -Wtraditional -pedantic::g' -i 'libiberty/configure'
# Patches are the wrong way to do this
sed -e '# gcc-3.4.6-ucontext.patch' \
-e 's:\bstruct ucontext\b:ucontext_t:g' \
-e '# siginfo.patch' \
-e 's:\bstruct siginfo\b:siginfo_t:g' \
-i $(grep --include 'linux*.h' -lrFe $'struct ucontext\nstruct siginfo' gcc/config/)
mkdir ../gcc-build
}
build(){
export CFLAGS="-march=${CARCH/_/-} -O2"
export CXXFLAGS="-march=${CARCH/_/-} -O2"
export SHELL='/usr/bin/bash' # doesn't work with fish
unset CPPFLAGS
cd gcc-build
CPP=/usr/bin/cpp ../gcc-${pkgver}/configure --prefix=/usr --enable-shared \
--enable-languages=c++ --enable-threads=posix --enable-__cxa_atexit \
--disable-multilib --libdir=/usr/lib
make all-target-libstdc++-v3 BOOT_CFLAGS="${CFLAGS}" STAGE1_CFLAGS="-O" -j$(nproc)
}
package() {
cd gcc-build
make DESTDIR="${pkgdir}" install-target-libstdc++-v3
# Remove includefiles and libs provided by gcc
rm -rf "${pkgdir}"/usr/{include,share/locale}
rm -f "${pkgdir}"/usr/lib/*.a
rm -f "${pkgdir}"/usr/lib/libstdc++.so
}

View file

@ -1,11 +0,0 @@
--- gcc-3.4.3/gcc/config/i386/t-linux64
+++ gcc-3.4.3/gcc/config/i386/t-linux64
@@ -6,7 +6,7 @@
MULTILIB_OPTIONS = m64/m32
MULTILIB_DIRNAMES = 64 32
-MULTILIB_OSDIRNAMES = ../lib64 ../lib
+MULTILIB_OSDIRNAMES = . ../lib
LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib

View file

@ -1,21 +0,0 @@
--- gcc-3.4.6/gcc/config/i386/linux64.h
+++ gcc-3.4.6/gcc/config/i386/linux64.h
@@ -90,7 +90,7 @@
if (*(unsigned char *)(pc_+0) == 0x48 \
&& *(unsigned long *)(pc_+1) == 0x050f0000000fc0c7) \
{ \
- struct ucontext *uc_ = (CONTEXT)->cfa; \
+ ucontext_t *uc_ = (CONTEXT)->cfa; \
sc_ = (struct sigcontext *) &uc_->uc_mcontext; \
} \
else \
@@ -160,7 +160,7 @@
struct siginfo *pinfo; \
void *puc; \
struct siginfo info; \
- struct ucontext uc; \
+ ucontext_t uc; \
} *rt_ = (CONTEXT)->cfa; \
sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \
} \

View file

@ -1,10 +0,0 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
def post_build():
git_add_files('PKGBUILD')
git_commit()

View file

@ -1,12 +0,0 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
pre_build_script: aur_pre_build(maintainers='JstKddng')
update_on:
- source: aur
aur: libstdc++5
strip_release: true
pre_build: aur_pre_build
post_build: aur_post_build
time_limit_hours: 6

View file

@ -1,14 +0,0 @@
--- gcc/config/i386/linux.h.orig 2014-04-28 10:00:16.556121683 +0000
+++ gcc/config/i386/linux.h 2014-04-28 10:00:43.105959247 +0000
@@ -257,9 +257,9 @@
{ \
struct rt_sigframe { \
int sig; \
- struct siginfo *pinfo; \
+ siginfo_t *pinfo; \
void *puc; \
- struct siginfo info; \
+ siginfo_t info; \
struct ucontext uc; \
} *rt_ = (CONTEXT)->cfa; \
sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \

View file

@ -1,32 +0,0 @@
# Maintainer: Guoyi Zhang <guoyizhang at malacology dot net>
_pkgname=MASS
_pkgver=7.3-57
pkgname=r-${_pkgname,,}
pkgver=7.3.57
pkgrel=1
pkgdesc="Support Functions and Datasets for Venables and Ripley's MASS"
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
r
)
optdepends=(
r-lattice
r-nlme
r-nnet
r-survival
)
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('bd8b880105bc1aadb2db699086f74bd92a8611287979a24243187f9d80795a8d')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
}
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +0,0 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
for line in edit_file('PKGBUILD'):
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build():
git_pkgbuild_commit()

View file

@ -1,8 +0,0 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
update_on:
- regex: MASS_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=MASS

View file

@ -1,46 +0,0 @@
# system requirements: GNU make
# Maintainer: sukanka <su975853527@gmail.com>
_pkgname=metaBMA
_pkgver=0.6.7
pkgname=r-${_pkgname,,}
pkgver=${_pkgver//[:-]/.}
pkgrel=1
pkgdesc='Bayesian Model Averaging for Random and Fixed Effects Meta-Analysis'
arch=('x86_64')
url="https://cran.r-project.org/package=${_pkgname}"
license=('GPL')
depends=(
r
r-bh
r-bridgesampling
r-coda
r-laplacesdemon
r-logspline
r-mvtnorm
r-rcpp
r-rcppeigen
r-rcppparallel
r-rstan
r-rstantools
r-stanheaders
)
optdepends=(
r-knitr
r-rmarkdown
r-spelling
r-testthat
)
makedepends=('make')
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
sha256sums=('330bccb4b2297bc3a8b7291197c5e978b90b002907f762ede40f2d3e383367da')
build() {
R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}"
}
package() {
install -dm0755 "${pkgdir}/usr/lib/R/library"
cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library"
}
# vim:set ts=2 sw=2 et:

View file

@ -1,12 +0,0 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
for line in edit_file('PKGBUILD'):
if line.startswith('_pkgver='):
line = f'_pkgver={_G.newver}'
print(line)
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
def post_build():
git_pkgbuild_commit()

View file

@ -1,20 +0,0 @@
build_prefix: extra-x86_64
maintainers:
- github: sukanka
repo_depends:
- r-bh
- r-bridgesampling
- r-coda
- r-laplacesdemon
- r-logspline
- r-mvtnorm
- r-rcpp
- r-rcppeigen
- r-rcppparallel
- r-rstan
- r-rstantools
- r-stanheaders
update_on:
- regex: metaBMA_([\d._-]+).tar.gz
source: regex
url: https://cran.r-project.org/package=metaBMA