Date: Thursday, April 14, 2022 @ 06:36:12 Author: alex19ep Revision: 1186151
archrelease: copy trunk to community-staging-x86_64 Added: libre/repos/community-staging-x86_64/ libre/repos/community-staging-x86_64/PKGBUILD (from rev 1186150, libre/trunk/PKGBUILD) libre/repos/community-staging-x86_64/re-flags.patch (from rev 1186150, libre/trunk/re-flags.patch) ----------------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ re-flags.patch | 11 +++++++++++ 2 files changed, 48 insertions(+) Copied: libre/repos/community-staging-x86_64/PKGBUILD (from rev 1186150, libre/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-04-14 06:36:12 UTC (rev 1186151) @@ -0,0 +1,37 @@ +# Maintainer: Alexander Epaneshnikov <alex1...@archlinux.org> +# Contributor: ny-a <nyaarch64 at gmail dot com> +# Contributor: Cristian Delgado <cristdelc at gmail dot com> +# Contributor: Andrew Sun <adsun701 at gmail dot com> +# Contributor: Dmitrij D. Czarkoff <czarkoff at gmail dot com> + +pkgname=libre +pkgver=2.2.2 +pkgrel=1 +pkgdesc="Portable library for real-time communications" +arch=('x86_64') +url="https://github.com/baresip/re" +license=('BSD') +depends=('openssl' 'zlib') +replaces=('re') +conflicts=('re') +provides=(libre.so) +source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/baresip/re/archive/v${pkgver}.tar.gz" + "re-flags.patch") +sha256sums=('25d66108f827507d1a08dc15d4a2a6d994e0cc2368f2faa6778b3a48c0d15f2f' + 'd269af3a87305cef303069cc1287be0b504c2bcf48160866fa05e7951d38f2f7') + +prepare() { + cd re-${pkgver} + patch -Np1 -i "${srcdir}/re-flags.patch" +} + +build() { + cd re-${pkgver} + make RELEASE=1 +} + +package() { + cd re-${pkgver} + make RELEASE=1 DESTDIR="${pkgdir}" install + install -vDm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} Copied: libre/repos/community-staging-x86_64/re-flags.patch (from rev 1186150, libre/trunk/re-flags.patch) =================================================================== --- community-staging-x86_64/re-flags.patch (rev 0) +++ community-staging-x86_64/re-flags.patch 2022-04-14 06:36:12 UTC (rev 1186151) @@ -0,0 +1,11 @@ +--- re-2.1.1.orig/Makefile 2022-03-12 15:42:35.000000000 +0900 ++++ re-2.1.1/Makefile 2022-03-28 14:55:41.972025186 +0900 +@@ -87,7 +87,7 @@ + + $(SHARED): $(OBJS) libre.pc + @echo " LD $@" +- $(HIDE)$(LD) $(LFLAGS) $(SH_LFLAGS) $(OBJS) $(LIBS) -o $@ ++ $(HIDE)$(LD) $(LDFLAGS) $(LFLAGS) $(SH_LFLAGS) $(OBJS) $(LIBS) -o $@ + + + $(STATIC): $(OBJS) libre.pc