[arch-commits] Commit in libre/repos (3 files)

Alexander Epaneshnikov alex19ep at gemini.archlinux.org
Thu Aug 11 22:07:42 UTC 2022


    Date: Thursday, August 11, 2022 @ 22:07:42
  Author: alex19ep
Revision: 1265295

archrelease: copy trunk to community-staging-x86_64

Added:
  libre/repos/community-staging-x86_64/
  libre/repos/community-staging-x86_64/PKGBUILD
    (from rev 1265294, libre/trunk/PKGBUILD)
  libre/repos/community-staging-x86_64/re-flags.patch
    (from rev 1265294, 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 1265294, libre/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-08-11 22:07:42 UTC (rev 1265295)
@@ -0,0 +1,37 @@
+# Maintainer: Alexander Epaneshnikov <alex19ep at 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.6.1
+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=('665c9de5181d4c193d667e99aa23d9c9303e0ee458e97e93806a5a5eb49a2d81'
+            '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 1265294, libre/trunk/re-flags.patch)
===================================================================
--- community-staging-x86_64/re-flags.patch	                        (rev 0)
+++ community-staging-x86_64/re-flags.patch	2022-08-11 22:07:42 UTC (rev 1265295)
@@ -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



More information about the arch-commits mailing list