[arch-commits] Commit in nanomsg/repos (2 files)

Anatol Pomozov anatolik at gemini.archlinux.org
Wed Aug 31 15:09:56 UTC 2022


    Date: Wednesday, August 31, 2022 @ 15:09:56
  Author: anatolik
Revision: 1289162

archrelease: copy trunk to community-staging-x86_64

Added:
  nanomsg/repos/community-staging-x86_64/
  nanomsg/repos/community-staging-x86_64/PKGBUILD
    (from rev 1289161, nanomsg/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: nanomsg/repos/community-staging-x86_64/PKGBUILD (from rev 1289161, nanomsg/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-08-31 15:09:56 UTC (rev 1289162)
@@ -0,0 +1,33 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: KokaKiwi <admin at kokaelkiwi.eu>
+# Contributor: James Bulmer <nekinie at gmail.com>
+
+pkgname=nanomsg
+pkgver=1.2
+pkgrel=1
+pkgdesc='Simple high-performance implementation of several "scalability protocols"'
+url='https://nanomsg.org/'
+license=(MIT)
+arch=(x86_64)
+depends=(glibc)
+makedepends=(cmake)
+source=(nanomsg-$pkgver.tar.gz::https://github.com/nanomsg/nanomsg/archive/$pkgver.tar.gz)
+sha1sums=('810f26d8fb2943e5a4c34d751bc8cdaf544ba9fe')
+
+
+build() {
+  cd nanomsg-$pkgver
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib .
+  make
+}
+
+check() {
+  cd nanomsg-$pkgver
+  ctest
+}
+
+package() {
+  cd nanomsg-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}



More information about the arch-commits mailing list