[arch-commits] Commit in libre/repos (3 files)
Alexander Epaneshnikov
alex19ep at gemini.archlinux.org
Sat Sep 3 11:20:49 UTC 2022
Date: Saturday, September 3, 2022 @ 11:20:48
Author: alex19ep
Revision: 1291682
archrelease: copy trunk to community-staging-x86_64
Added:
libre/repos/community-staging-x86_64/
libre/repos/community-staging-x86_64/PKGBUILD
(from rev 1291681, libre/trunk/PKGBUILD)
libre/repos/community-staging-x86_64/re-flags.patch
(from rev 1291681, 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 1291681, libre/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-09-03 11:20:48 UTC (rev 1291682)
@@ -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.7.0
+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=('999f02b4299f9f4bbf637cf610099b656225fef0ce08ce56728978214d448343'
+ '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 1291681, libre/trunk/re-flags.patch)
===================================================================
--- community-staging-x86_64/re-flags.patch (rev 0)
+++ community-staging-x86_64/re-flags.patch 2022-09-03 11:20:48 UTC (rev 1291682)
@@ -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