[arch-commits] Commit in asio/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Tue Mar 20 20:26:23 UTC 2018
Date: Tuesday, March 20, 2018 @ 20:26:20
Author: anthraxx
Revision: 319710
archrelease: copy trunk to extra-x86_64
Added:
asio/repos/extra-x86_64/PKGBUILD
(from rev 319709, asio/trunk/PKGBUILD)
Deleted:
asio/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 67 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 38 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-20 20:26:12 UTC (rev 319709)
+++ PKGBUILD 2018-03-20 20:26:20 UTC (rev 319710)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Aaron Griffin <aaron at archlinux.org>
-
-pkgname=asio
-pkgver=1.10.8
-pkgrel=1
-pkgdesc="Cross-platform C++ library for ASynchronous network I/O"
-arch=('i686' 'x86_64')
-url="http://asio.sourceforge.net"
-license=('custom')
-depends=('boost')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('59702ae78da4c45e5fffad39b062cf42')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR=${pkgdir} install
- #license
- install -D -m644 LICENSE_1_0.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: asio/repos/extra-x86_64/PKGBUILD (from rev 319709, asio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-20 20:26:20 UTC (rev 319710)
@@ -0,0 +1,38 @@
+# 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.0
+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://github.com/chriskohlhoff/asio/archive/asio-${pkgver//./-}.tar.gz)
+sha256sums=('fa8c3a16dc2163f5b3451f2a14ce95277c971f46700497d4e94af6059c00dc06')
+
+prepare() {
+ cd ${pkgname}-${pkgname}-${pkgver//./-}/asio
+ autoreconf -fiv
+}
+
+build() {
+ cd ${pkgname}-${pkgname}-${pkgver//./-}/asio
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgname}-${pkgver//./-}/asio
+ make check
+}
+
+package() {
+ cd ${pkgname}-${pkgname}-${pkgver//./-}/asio
+ 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