[arch-commits] Commit in hiredis/repos/community-x86_64 (PKGBUILD PKGBUILD)
Remi Rgacogne
rgacogne at gemini.archlinux.org
Sat Oct 9 10:58:22 UTC 2021
Date: Saturday, October 9, 2021 @ 10:58:22
Author: rgacogne
Revision: 1029131
archrelease: copy trunk to community-x86_64
Added:
hiredis/repos/community-x86_64/PKGBUILD
(from rev 1029130, hiredis/trunk/PKGBUILD)
Deleted:
hiredis/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 69 +++++++++++++++++++++++++++----------------------------------
1 file changed, 31 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-09 10:58:05 UTC (rev 1029130)
+++ PKGBUILD 2021-10-09 10:58:22 UTC (rev 1029131)
@@ -1,38 +0,0 @@
-# Maintainer: Remi Gacogne <rgacogne at archlinux.org>
-# Contributor: Vladimir Tsanev <tsachev at gmail.com>
-
-pkgname=hiredis
-pkgver=1.0.1
-pkgrel=1
-pkgdesc='Minimalistic C client library for Redis'
-arch=('x86_64')
-url="https://github.com/redis/hiredis/"
-license=('BSD')
-depends=('glibc')
-checkdepends=('redis')
-source=(https://github.com/redis/$pkgname/archive/v$pkgver/hiredis-$pkgver.tar.gz)
-sha256sums=('a420df40775ac7b4b46550dd4df78ffe6620616333496a17c9c9fc556815ba4b')
-
-prepare() {
- # work around the accidental soname bump in 1.0.1
- # https://github.com/redis/hiredis/issues/987
- cd $pkgname-$pkgver
- sed -i "s,#define HIREDIS_SONAME 1.0.1,#define HIREDIS_SONAME 1.0.0," hiredis.h
-}
-
-build() {
- cd $pkgname-$pkgver
- make PREFIX=/usr
-}
-
-check() {
- cd $pkgname-$pkgver
- make check
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" PREFIX=/usr install
-
- install -Dm 644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}
Copied: hiredis/repos/community-x86_64/PKGBUILD (from rev 1029130, hiredis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-09 10:58:22 UTC (rev 1029131)
@@ -0,0 +1,31 @@
+# Maintainer: Remi Gacogne <rgacogne at archlinux.org>
+# Contributor: Vladimir Tsanev <tsachev at gmail.com>
+
+pkgname=hiredis
+pkgver=1.0.2
+pkgrel=1
+pkgdesc='Minimalistic C client library for Redis'
+arch=('x86_64')
+url="https://github.com/redis/hiredis/"
+license=('BSD')
+depends=('glibc')
+checkdepends=('redis')
+source=(https://github.com/redis/$pkgname/archive/v$pkgver/hiredis-$pkgver.tar.gz)
+sha256sums=('e0ab696e2f07deb4252dda45b703d09854e53b9703c7d52182ce5a22616c3819')
+
+build() {
+ cd $pkgname-$pkgver
+ make PREFIX=/usr
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" PREFIX=/usr install
+
+ install -Dm 644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
More information about the arch-commits
mailing list