[arch-commits] Commit in asio/repos (extra-any extra-any/PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sun Sep 27 12:32:44 UTC 2020


    Date: Sunday, September 27, 2020 @ 12:32:44
  Author: anthraxx
Revision: 396710

archrelease: copy trunk to extra-any

Added:
  asio/repos/extra-any/
  asio/repos/extra-any/PKGBUILD
    (from rev 396709, asio/trunk/PKGBUILD)

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

Copied: asio/repos/extra-any/PKGBUILD (from rev 396709, asio/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2020-09-27 12:32:44 UTC (rev 396710)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=asio
+pkgver=1.18.0
+pkgrel=1
+pkgdesc='Cross-platform C++ library for ASynchronous network I/O'
+url='https://think-async.com/Asio/'
+arch=('any')
+license=('custom:boost')
+makedepends=('boost')
+source=(https://sourceforge.net/projects/asio/files/asio/${pkgver}%20%28Stable%29/asio-${pkgver}.tar.bz2)
+sha256sums=('9d539e7c09aa6394d512c433c5601c1f26dc4975f022ad7d5e8e57c3b635b370')
+b2sums=('6772a70c035e7df08484703b6f2fa294b6a1ade4b1e661481df0e790fe4a36d74f0f4b14023c7505fc599c4eefb3e3baf392fd7897c10c07707a0474870a6557')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  autoreconf -fiv
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure \
+    --prefix=/usr
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 COPYING LICENSE_1_0.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list