[arch-commits] Commit in asio/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Christian Hesse eworm at archlinux.org
Wed Sep 5 13:56:53 UTC 2018


    Date: Wednesday, September 5, 2018 @ 13:56:52
  Author: eworm
Revision: 333439

archrelease: copy trunk to testing-x86_64

Added:
  asio/repos/testing-x86_64/
  asio/repos/testing-x86_64/PKGBUILD
    (from rev 333438, asio/trunk/PKGBUILD)

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

Copied: asio/repos/testing-x86_64/PKGBUILD (from rev 333438, asio/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-09-05 13:56:52 UTC (rev 333439)
@@ -0,0 +1,43 @@
+# 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.12.1
+pkgrel=1
+pkgdesc='Cross-platform C++ library for ASynchronous network I/O'
+url='https://think-async.com/Asio/'
+arch=('x86_64')
+license=('custom:boost')
+makedepends=('boost')
+source=("https://sourceforge.net/projects/asio/files/asio/${pkgver}%20%28Stable%29/asio-${pkgver}.tar.bz2")
+sha256sums=('a9091b4de847539fa5b2259bf76a5355339c7eaaa5e33d7d4ae74d614c21965a')
+
+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