Commit b67a3335 authored by Luca Giambonini's avatar Luca Giambonini

gcc rebuild, basic group1

parent b935789d
# maintainer Manuel Tortosa
# maintainer almack
# Note: you have to rebuild those pkgs
# Core: repo-clean
......@@ -7,7 +7,7 @@
pkgbase=boost
pkgname=('boost-libs' 'boost')
pkgver=1.65.0
pkgver=1.66.0
_boostver=${pkgver//./_}
pkgrel=1
url='http://www.boost.org/'
......@@ -15,7 +15,7 @@ arch=('x86_64')
license=('custom')
makedepends=('icu' 'python' 'python2' 'bzip2' 'zlib' 'openmpi')
source=(https://downloads.sourceforge.net/project/${pkgbase}/${pkgbase}/${pkgver}/${pkgbase}_${_boostver}.tar.bz2)
sha256sums=('ea26712742e2fb079c2a566a31f3266973b76e38222b9f88b387e3c8b2f9902c')
sha256sums=('5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9')
build() {
export _stagedir="${srcdir}/stagedir"
......
pkgname=cmake
pkgver=3.9.5
pkgver=3.10.1
pkgrel=1
pkgdesc='A cross-platform open-source make system'
arch=('x86_64')
......@@ -10,7 +10,7 @@ makedepends=('qt5-base' 'python3-sphinx' 'emacs')
optdepends=('qt5-base: cmake-gui'
'libxkbcommon-x11: cmake-gui')
source=("https://www.cmake.org/files/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('6220c1683b4e6bb8f38688fa3ffb17a7cf39f36317c2ddfdc3f12f09d086c166')
sha256sums=('7be36ee24b0f5928251b644d29f5ff268330a916944ef4a75e23ba01e7573284')
install=${pkgname}.install
build() {
......
pkgbase=cython
pkgname=('cython3' 'cython2')
pkgver=0.27.1
pkgver=0.27.3
pkgrel=1
pkgdesc="C-Extensions for Python"
arch=(x86_64)
url="http://cython.org"
license=('APACHE')
makedepends=('python3-setuptools' 'python2-setuptools')
source=("https://pypi.python.org/packages/10/32/21873ff231e069f860098b1602bb9e3ae2806d2f73ba661b5d806f200243/Cython-$pkgver.tar.gz")
sha256sums=('e6840a2ba2704f4ffb40e454c36f73aeb440a4005453ee8d7ff6a00d812ba176')
source=($pkgbase-$pkgver.tar.gz::"https://github.com/cython/cython/archive/$pkgver.tar.gz")
sha256sums=('648feb8a257574a3e4ef854475e7d767732ef26e870d2f9fcc1ca5b244b3ac89')
package_cython3() {
depends=('python3' 'python3-setuptools')
prepare() {
cp -r cython-$pkgver cython2-$pkgver
find cython2-$pkgver -name '*.py' | xargs sed -e 's|/usr/bin/env python|/usr/bin/env python2|' -e 's|/usr/bin/python|/usr/bin/python2|' -i
}
cd "$srcdir"/Cython-$pkgver
python3 setup.py install --root="$pkgdir"
build() {
cd cython-$pkgver
python3 setup.py build
sed -i 's|#!.*python|#!/usr/bin/python3|' "$pkgdir"/usr/bin/*
cd ../cython2-$pkgver
python2 setup.py build
}
package_cython3() {
depends=(python3 python3-setuptools)
cd cython-$pkgver
python3 setup.py install --root="$pkgdir" --skip-build
for f in cygdb cython cythonize; do
mv "$pkgdir"/usr/bin/$f "$pkgdir"/usr/bin/${f}3
#ln -s ${f}3 "$pkgdir"/usr/bin/$f
ln -s ${f}3 "$pkgdir"/usr/bin/$f
done
}
package_cython2() {
depends=('python2' 'python2-setuptools')
depends=(python2 python2-setuptools)
cd "$srcdir"/Cython-$pkgver
python2 setup.py install --root="$pkgdir"
cd cython2-$pkgver
python2 setup.py install --root="$pkgdir" --skip-build
for f in cygdb cython cythonize; do
mv "$pkgdir"/usr/bin/$f "$pkgdir"/usr/bin/${f}2
done
}
}
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=db
pkgver=5.3.28
pkgrel=1
pkgrel=2
pkgdesc="The Berkeley DB embedded database system"
arch=('x86_64')
url="http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html"
......
......@@ -2,7 +2,7 @@
pkgbase=elfutils
pkgname=(elfutils libelf)
pkgver=0.170
pkgrel=1
pkgrel=2
pkgdesc="Utilities to handle ELF object files and DWARF debugging information"
arch=('x86_64')
url="https://sourceware.org/elfutils/"
......
......@@ -3,31 +3,30 @@
# Contributor: dorphell <dorphell@gmx.net>
pkgname=gc
pkgver=7.4.2
pkgver=7.6.0
pkgrel=1
pkgdesc="A garbage collector for C and C++"
arch=('x86_64')
url="http://www.hboehm.info/gc/"
license=('GPL')
depends=('gcc-libs' 'libatomic_ops')
source=("http://www.hboehm.info/gc/gc_source/${pkgname}-${pkgver}.tar.gz"
noelision.patch)
md5sums=('12c05fd2811d989341d8c6d81f66af87'
'0be354bf60cc18363dc4c1601697717b')
#source=(https://github.com/ivmai/bdwgc/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
source=(http://www.hboehm.info/gc/gc_source/${pkgname}-${pkgver}.tar.gz)
md5sums=('bf46ccbdaccfa3186c2ab87191c8855a')
prepare() {
cd ${pkgname}-${pkgver}
# https://github.com/ivmai/bdwgc/pull/51
patch -p1 -i ../noelision.patch
sed -i 's#pkgdata#doc#' doc/doc.am
}
build() {
cd ${pkgname}-${pkgver}
autoreconf -fi
./configure --prefix=/usr --enable-cplusplus --disable-static
#https://github.com/ivmai/bdwgc/issues/87
CXXFLAGS+=' -std=gnu++98' ./configure --prefix=/usr --enable-cplusplus --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
......
diff --git c/include/private/gc_priv.h w/include/private/gc_priv.h
index 0ad92fc..b877fac 100644
--- c/include/private/gc_priv.h
+++ w/include/private/gc_priv.h
@@ -2368,6 +2368,7 @@ GC_INNER ptr_t GC_store_debug_info(ptr_t p, word sz, const char *str,
/* GC_notify_all_builder() is called when GC_fl_builder_count */
/* reaches 0. */
+ GC_INNER void GC_setup_mark_lock(void);
GC_INNER void GC_acquire_mark_lock(void);
GC_INNER void GC_release_mark_lock(void);
GC_INNER void GC_notify_all_builder(void);
diff --git c/include/private/gcconfig.h w/include/private/gcconfig.h
index c753cc2..b5ed075 100644
--- c/include/private/gcconfig.h
+++ w/include/private/gcconfig.h
@@ -1357,6 +1357,11 @@
# define PREFETCH_FOR_WRITE(x) \
__asm__ __volatile__ ("prefetchw %0" : : "m"(*(char *)(x)))
# endif
+# if defined(__GLIBC__)
+ /* Workaround lock elision implementation for some glibc. */
+# define GLIBC_2_19_TSX_BUG
+# include <gnu/libc-version.h> /* for gnu_get_libc_version() */
+# endif
# endif
# ifdef CYGWIN32
# define OS_TYPE "CYGWIN32"
@@ -2257,6 +2262,11 @@
/* FIXME: This seems to be fixed in GLibc v2.14. */
# define GETCONTEXT_FPU_EXCMASK_BUG
# endif
+# if defined(__GLIBC__)
+ /* Workaround lock elision implementation for some glibc. */
+# define GLIBC_2_19_TSX_BUG
+# include <gnu/libc-version.h> /* for gnu_get_libc_version() */
+# endif
# endif
# ifdef DARWIN
# define OS_TYPE "DARWIN"
diff --git c/include/private/pthread_support.h w/include/private/pthread_support.h
index 525a9aa..017f194 100644
--- c/include/private/pthread_support.h
+++ w/include/private/pthread_support.h
@@ -148,6 +148,8 @@ GC_INNER_PTHRSTART GC_thread GC_start_rtn_prepare_thread(
struct GC_stack_base *sb, void *arg);
GC_INNER_PTHRSTART void GC_thread_exit_proc(void *);
+GC_INNER void GC_setup_mark_lock(void);
+
#endif /* GC_PTHREADS && !GC_WIN32_THREADS */
#endif /* GC_PTHREAD_SUPPORT_H */
diff --git c/misc.c w/misc.c
index df434a1..3aca41d 100644
--- c/misc.c
+++ w/misc.c
@@ -875,6 +875,9 @@ GC_API void GC_CALL GC_init(void)
/* else */ InitializeCriticalSection (&GC_allocate_ml);
}
# endif /* GC_WIN32_THREADS */
+# if defined(GC_PTHREADS) && !defined(GC_WIN32_THREADS)
+ GC_setup_mark_lock();
+# endif /* GC_PTHREADS */
# if (defined(MSWIN32) || defined(MSWINCE)) && defined(THREADS)
InitializeCriticalSection(&GC_write_cs);
# endif
diff --git c/pthread_support.c w/pthread_support.c
index c00b93d..8a7c50b 100644
--- c/pthread_support.c
+++ w/pthread_support.c
@@ -1979,6 +1979,55 @@ GC_INNER void GC_lock(void)
static pthread_cond_t builder_cv = PTHREAD_COND_INITIALIZER;
+#ifdef GLIBC_2_19_TSX_BUG
+ /* Parse string like <major>[.<minor>[<tail>]] and return major value. */
+ static int parse_version(int *pminor, const char *pverstr) {
+ char *endp;
+ unsigned long value = strtoul(pverstr, &endp, 10);
+ int major = (int)value;
+
+ if (major < 0 || (char *)pverstr == endp || (unsigned)major != value) {
+ /* Parse error */
+ return -1;
+ }
+ if (*endp != '.') {
+ /* No minor part. */
+ *pminor = -1;
+ } else {
+ value = strtoul(endp + 1, &endp, 10);
+ *pminor = (int)value;
+ if (*pminor < 0 || (unsigned)(*pminor) != value) {
+ return -1;
+ }
+ }
+ return major;
+ }
+#endif /* GLIBC_2_19_TSX_BUG */
+
+GC_INNER void GC_setup_mark_lock(void)
+{
+# ifdef GLIBC_2_19_TSX_BUG
+ pthread_mutexattr_t mattr;
+ int glibc_minor = -1;
+ int glibc_major = parse_version(&glibc_minor, gnu_get_libc_version());
+
+ if (glibc_major > 2 || (glibc_major == 2 && glibc_minor >= 19)) {
+ /* TODO: disable this workaround for glibc with fixed TSX */
+ /* This disables lock elision to workaround a bug in glibc 2.19+ */
+ if (0 != pthread_mutexattr_init(&mattr)) {
+ ABORT("pthread_mutexattr_init failed");
+ }
+ if (0 != pthread_mutexattr_settype(&mattr, PTHREAD_MUTEX_NORMAL)) {
+ ABORT("pthread_mutexattr_settype failed");
+ }
+ if (0 != pthread_mutex_init(&mark_mutex, &mattr)) {
+ ABORT("pthread_mutex_init failed");
+ }
+ pthread_mutexattr_destroy(&mattr);
+ }
+# endif
+}
+
GC_INNER void GC_acquire_mark_lock(void)
{
GC_ASSERT(GC_mark_lock_holder != NUMERIC_THREAD_ID(pthread_self()));
# Maintainer: Drake Justice <djustice@chakraos.org>
pkgname=gdb
pkgver=8.0.1
pkgrel=1
pkgrel=2
pkgdesc="The GNU Debugger"
arch=('x86_64')
url="http://www.gnu.org/software/gdb/"
......@@ -30,6 +29,7 @@ build() {
./configure --prefix=/usr --disable-nls \
--with-system-readline \
--with-python=/usr/bin/python3 \
--with-guile=guile-2.0 \
--with-system-gdbinit=/etc/gdb/gdbinit
make
}
......
pkgname=gettext
pkgver=0.19.8.1
pkgrel=2
pkgrel=3
pkgdesc="GNU internationalization library"
arch=('x86_64')
url="http://www.gnu.org/software/gettext"
license=('GPL')
groups=('base')
depends=('acl' 'gcc-libs' 'glib2' 'libcroco' 'sh' 'pcre' 'ncurses')
optdepends=('cvs: for autopoint tool')
optdepends=('git: for autopoint infrastructure updates')
options=(!docs)
install=gettext.install
source=(ftp://ftp.gnu.org/pub/gnu/gettext/${pkgname}-${pkgver}.tar.gz{,.sig})
......
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=gmp
pkgver=6.0.0
pkgrel=1
pkgver=6.1.2
pkgrel=2
pkgdesc="A free library for arbitrary precision arithmetic"
arch=('x86_64')
url="http://gmplib.org/"
depends=('gcc-libs' 'sh')
license=('LGPL3' 'GPL')
options=('!libtool')
install=gmp.install
source=(ftp://ftp.gmplib.org/pub/gmp-${pkgver}/gmp-${pkgver}a.tar.lz{,.sig})
md5sums=('a8b0090b79291a54390356414264142c'
source=(https://gmplib.org/download/gmp/gmp-${pkgver}.tar.xz{,.sig})
md5sums=('f58fa8001d60c4c77595fbbb62b63c1d'
'SKIP')
validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
./configure --build=${CHOST} \
--prefix=/usr --enable-cxx
--prefix=/usr \
--enable-cxx \
--enable-fat
make
}
......
info_dir=/usr/share/info
info_files=(gmp.info gmp.info-1 gmp.info-2)
post_install() {
[ -x usr/bin/install-info ] || return 0
for f in ${info_files[@]}; do
install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
done
}
post_upgrade() {
post_install $1
}
pre_remove() {
[ -x usr/bin/install-info ] || return 0
for f in ${info_files[@]}; do
install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
done
}
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/gnutls
pkgname=gnutls
pkgver=3.5.13
pkgver=3.5.17
pkgrel=1
pkgdesc="A library which provides a secure layer over a reliable transport layer"
arch=('x86_64')
......@@ -11,13 +11,11 @@ install=gnutls.install
options=('!zipman')
depends=('gcc-libs' 'libidn' 'libtasn1' 'libunistring' 'readline' 'zlib' 'nettle' 'p11-kit' 'libidn')
optdepends=('guile: for use with Guile bindings')
source=(ftp://ftp.gnutls.org/gcrypt/gnutls/v3.5/${pkgname}-${pkgver}.tar.xz)
source=(https://www.gnupg.org/ftp/gcrypt/gnutls/v3.5/${pkgname}-${pkgver}.tar.xz{,.sig})
sha256sums=('86b142afef587c118d63f72ccf307f3321dbc40357aae528202b65d913d20919'
'SKIP')
validpgpkeys=('0424D4EE81A0E3D119C6F835EDA21E94B565716F'
'1F42418905D8206AA754CCDC29EE58B996865171')
# "Simon Josefsson <simon@josefsson.org>"
# "Nikos Mavrogiannopoulos <nmav@gnutls.org>
md5sums=('4fd41ad86572933c2379b4cc321a0959')
build() {
cd ${pkgname}-${pkgver}
......
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/graphite
pkgname=graphite
pkgver=1.3.6
pkgver=1.3.10
pkgrel=1
arch=('x86_64')
url="https://github.com/silnrsi/graphite"
......@@ -13,8 +13,8 @@ makedepends=('cmake' 'freetype2' 'python2'
'doxygen' 'dblatex' 'graphviz' 'asciidoc')
checkdepends=('python2-fonttools')
options=('!emptydirs')
source=(https://github.com/silnrsi/${pkgname}/releases/download/${pkgver}/graphite-${pkgver}.tgz)
md5sums=('12eb607e0f458febe348ae69b832b300')
source=(https://github.com/silnrsi/${pkgname}/releases/download/${pkgver}/graphite2-${pkgver}.tgz)
md5sums=('b39d5ed21195f8b709bcee548c87e2b5')
prepare() {
cd "${srcdir}"
......
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=icu
pkgver=59.1
pkgrel=1
pkgrel=2
pkgdesc="International Components for Unicode library"
arch=('x86_64')
url="http://www.icu-project.org/"
license=('custom:icu')
depends=('gcc-libs' 'sh')
source=(#http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver/./_}-src.tgz
http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver//./_}-src.tgz)
http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver//./_}-src.tgz{,.asc})
# upstream offers md5sum checks, only asc file for md5sum check
md5sums=('54923fa9fab5b2b83f235fb72523de37')
sha256sums=('7132fdaf9379429d004005217f10e00b7d2319d0fea22bdfddef8991c45b75fe')
md5sums=('54923fa9fab5b2b83f235fb72523de37'
'SKIP')
sha256sums=('7132fdaf9379429d004005217f10e00b7d2319d0fea22bdfddef8991c45b75fe'
'SKIP')
validpgpkeys=('BA90283A60D67BA0DD910A893932080F4FB419E3' # "Steven R. Loomis (filfla-signing) <srloomis@us.ibm.com>"
'9731166CD8E23A83BEE7C6D3ACA5DBE1FD8FABF1') # "Steven R. Loomis (ICU Project) <srl@icu-project.org>"
prepare() {
cd icu/source
# https://ssl.icu-project.org/trac/ticket/13329
sed -i 's/xlocale/locale/' i18n/digitlst.cpp
}
build() {
cd icu/source
......
pkgname=jsoncpp
pkgver=1.6.5
pkgrel=3
pkgbase=jsoncpp
pkgname=('jsoncpp' 'jsoncpp-doc')
pkgver=1.8.4
pkgrel=1
pkgdesc='A C++ library for interacting with JSON'
url='https://github.com/open-source-parsers/jsoncpp'
license=('MIT' 'custom:Public_Domain')
arch=('x86_64')
depends=('gcc-libs')
makedepends=('cmake' 'python')
conflicts=('json-c<0.12')
source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/open-source-parsers/${pkgname}/archive/${pkgver}.tar.gz")
md5sums=('2bb16bb8d2b867acbdd71d1855062a89')
makedepends=('gcc-libs' 'cmake' 'doxygen' 'graphviz' 'python')
options=('staticlibs')
source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/open-source-parsers/${pkgbase}/archive/${pkgver}.tar.gz)
md5sums=('fa47a3ab6b381869b6a5f20811198662')
prepare() {
cd ${pkgbase}-${pkgver}
mkdir -p build
}
build() {
cd ${pkgname}-${pkgver}
cd ${pkgbase}-${pkgver}
python doxybuild.py --with-dot
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_STATIC_LIBS=OFF
-DBUILD_STATIC_LIBS=ON \
-DJSONCPP_WITH_CMAKE_PACKAGE=ON \
..
make
}
check() {
cd ${pkgname}-${pkgver}
make test
cd ${pkgbase}-${pkgver}/build
make test jsoncpp_test jsoncpp_readerwriter_tests
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
package_jsoncpp() {
depends=('gcc-libs')
optdepends=('jsoncpp-doc: documentation')
cd ${pkgbase}-${pkgver}
make -C build DESTDIR="${pkgdir}" install
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
package_jsoncpp-doc() {
pkgdesc+=' (documentation)'
optdepends=('jsoncpp')
cd ${pkgbase}-${pkgver}
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -dm 755 "${pkgdir}/usr/share/doc/${pkgbase}"
cp -a dist/doxygen/jsoncpp-api-html-${pkgver} "${pkgdir}/usr/share/doc/${pkgbase}/html"
}
......@@ -2,7 +2,7 @@
pkgname=('llvm' 'llvm-libs' 'llvm-ocaml' 'lld' 'lldb' 'clang' 'clang-tools-extra')
pkgver=5.0.1
pkgrel=1
pkgrel=2
_ocaml_ver=4.05.0
arch=('x86_64')
url="http://llvm.org/"
......
pkgname=openmpi
pkgver=2.1.2
pkgmin="${pkgver%.*}"
pkgver=3.0.0
pkgrel=1
pkgdesc='High performance message passing library (MPI)'
arch=('x86_64')
url='http://www.open-mpi.org'
license=(custom)
depends=('libltdl' 'hwloc' 'openssh')
depends=('libtool' 'hwloc' 'openssh')
makedepends=('inetutils' 'valgrind' 'gcc-fortran')
optdepends=('gcc-fortran: fortran support')
options=(staticlibs)
source=(http://www.open-mpi.org/software/ompi/v${pkgmin}/downloads/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('4d43bb407eb8b9da099a555e8dc083352c6a1d02')
source=(https://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('fa63990db1aec88b36335a1d79abf47ac6348e23')
build() {
cd $pkgname-$pkgver
......@@ -24,6 +23,7 @@ build() {
--enable-mpi-thread-multiple \
--enable-smp-locks \
--enable-builtin-atomics \
--enable-mpi-cxx \
--with-valgrind \
--enable-memchecker \
--enable-pretty-print-stacktrace \
......
......@@ -2,7 +2,7 @@
pkgname=pcre
pkgver=8.41
pkgrel=1
pkgrel=2
pkgdesc="A library that implements Perl 5-style regular expressions"
arch=('x86_64')
url="http://www.pcre.org/"
......
# Arch Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=pcre2
pkgver=10.23
pkgver=10.30
pkgrel=1
pkgdesc='A library that implements Perl 5-style regular expressions. 2nd version'
arch=('x86_64')
......@@ -9,7 +9,7 @@ url='http://www.pcre.org/'
license=('BSD')
depends=('gcc-libs' 'readline' 'zlib' 'bzip2' 'bash')
source=("ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$pkgname-$pkgver.tar.bz2")
md5sums=('b2cd00ca7e24049040099b0a46bb3649')
md5sums=('d3adf4b130eed854a530390f00020a65')
build() {
cd $pkgname-$pkgver
......
# Arch Contributor: https://projects.archlinux.org/svntogit/community.git/plain/trunk/PKGBUILD?h=packages/rhash
pkgname=rhash
pkgver=1.3.4
pkgver=1.3.5
pkgrel=1
pkgdesc='Utility for verifying hash sums of files'
url='http://rhash.anz.ru/?l=en'
......@@ -9,21 +9,22 @@ license=('custom' 'MIT')
arch=('x86_64')
depends=('glibc')
backup=('etc/rhashrc')
source=("http://downloads.sourceforge.net/rhash/rhash-$pkgver-src.tar.gz")
sha256sums=('406662c4703bd4cb1caae26f32700951a5e12adf39f141d3f40e0b461b1e9e49')
source=("https://github.com/rhash/RHash/archive/v$pkgver.tar.gz")
sha256sums=('98e0688acae29e68c298ffbcdbb0f838864105f9b2bd8857980664435b1f1f2e')
build() {
cd rhash-$pkgver
cd RHash-$pkgver
make ADDCFLAGS="$CFLAGS" ADDLDFLAGS="$LDFLAGS" build-shared
make -C librhash
}
check() {
cd rhash-$pkgver
cd RHash-$pkgver
make test-shared
}
package() {
cd rhash-$pkgver
cd RHash-$pkgver
# program
make PREFIX=/usr DESTDIR="$pkgdir" install-shared
......
pkgname=swig
pkgver=3.0.5
pkgver=3.0.12
pkgrel=1
pkgdesc="A compiler that makes it easy to integrate C and C++ code with scripting languages"
arch=('x86_64')
......@@ -9,7 +9,7 @@ license=('custom')
depends=('pcre' 'gcc-libs')
checkdepends=('ruby' 'python2' 'java-environment' 'tcl' 'php' 'lua' 'ocaml' 'r' 'go' 'python2-cffi')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('271813b317e4836853d2249fc8ce2df34c2a062a')
sha1sums=('5cc1af41d041e4cc609580b99bb3dcf720effa25')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
......
......@@ -2,7 +2,7 @@
pkgname=taglib
pkgver=1.11.1
pkgrel=2
pkgrel=3
pkgdesc="A Library for reading and editing the meta-data of several popular audio formats"
arch=(x86_64)
url="http://taglib.github.io/"
......
# Contributions from Arch: https://www.archlinux.org/packages/extra/any/texlive-htmlxml/
# Arch Maintainer: Rémy Oudompheng <remy@archlinux.org>
pkgname=texlive-htmlxml
pkgver=2016.41440
_revnr=${pkgver#*.}
pkgrel=2
pkgdesc="TeX Live - Packages to convert LaTeX to XML/HTML, and typeset XML/SGML"
pkgname=texlive-formatsextra
pkgver=2017.45678
_revnr=${pkgver#2017.}
pkgrel=1
pkgdesc="TeX Live - collection of extra TeX 'formats'"
license=('GPL')
arch=(x86_64)
arch=(any)
depends=('texlive-core')
groups=('texlive-most')
url='http://tug.org/texlive/'
source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip")
source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip"
"${pkgname}.fmts")
options=('!emptydirs')
install=texlive.install
md5sums=('a55c2a95d2054c09a9a9eb35324fbc77')
provides=('texlive-htmlxml')
conflicts=('texlive-htmlxml')
replaces=('texlive-htmlxml')
sha256sums=('f4f33f6a151bef49d79a5ee41686bd356d01de85f011df0fe08d6de64b71f0d8'
'edee1d8b46005847381dbf20afacad6d14f3d59406facdc609c92d9e20ed6df2')