[arch-commits] Commit in (5 files)

Daurnimator daurnimator at archlinux.org
Thu Aug 22 11:19:35 UTC 2019


    Date: Thursday, August 22, 2019 @ 11:19:35
  Author: daurnimator
Revision: 500512

Add postgresql-ip4r

Added:
  postgresql-ip4r/
  postgresql-ip4r/repos/
  postgresql-ip4r/trunk/
  postgresql-ip4r/trunk/LICENSE
  postgresql-ip4r/trunk/PKGBUILD

----------+
 LICENSE  |   21 +++++++++++++++++++++
 PKGBUILD |   27 +++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

Added: postgresql-ip4r/trunk/LICENSE
===================================================================
--- postgresql-ip4r/trunk/LICENSE	                        (rev 0)
+++ postgresql-ip4r/trunk/LICENSE	2019-08-22 11:19:35 UTC (rev 500512)
@@ -0,0 +1,21 @@
+PostgreSQL License
+
+Copyright (c) 2004-2019, Andrew Gierth
+Copyright (c) 2003, Steve Atkins
+Copyright (c) 2000-2003, PostgreSQL Global Development Group
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose, without fee, and without a written agreement is
+hereby granted, provided that the above copyright notice and this paragraph
+and the following two paragraphs appear in all copies.
+
+IN NO EVENT SHALL THE AUTHORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING
+OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHORS
+HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
+AND THE AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
+ENHANCEMENTS, OR MODIFICATIONS.

Added: postgresql-ip4r/trunk/PKGBUILD
===================================================================
--- postgresql-ip4r/trunk/PKGBUILD	                        (rev 0)
+++ postgresql-ip4r/trunk/PKGBUILD	2019-08-22 11:19:35 UTC (rev 500512)
@@ -0,0 +1,27 @@
+# Maintainer: daurnimator <daurnimator at archlinux.org>
+
+pkgname=postgresql-ip4r
+pkgver=2.4.1
+pkgrel=1
+pkgdesc="IPv4/v6 and IPv4/v6 range index type for PostgreSQL"
+arch=('x86_64')
+url="https://github.com/RhodiumToad/ip4r/"
+license=('custom:PostgreSQL')
+depends=('postgresql')
+
+source=("$pkgname-$pkgver.tar.gz::https://github.com/RhodiumToad/ip4r/archive/$pkgver.tar.gz"
+		LICENSE)
+sha256sums=('78b9f0c1ae45c22182768fe892a32d533c82281035e10914111400bf6301c726'
+            '6d61e1a86a5548ce790729a46efa621796d7b79d68e1e8bc92c29034100059a5')
+
+build() {
+	cd "ip4r-$pkgver"
+	make
+}
+
+package() {
+	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+	cd "ip4r-$pkgver"
+	make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list