* add asio
This commit is contained in:
parent
51969c3b0f
commit
5cfe040eb3
13
asio/.SRCINFO
Normal file
13
asio/.SRCINFO
Normal file
@ -0,0 +1,13 @@
|
||||
pkgbase = asio
|
||||
pkgdesc = Cross-platform C++ library for ASynchronous network I/O
|
||||
pkgver = 1.30.2
|
||||
pkgrel = 1
|
||||
url = https://think-async.com/Asio/
|
||||
arch = any
|
||||
license = custom:boost
|
||||
makedepends = boost
|
||||
source = https://sourceforge.net/projects/asio/files/asio/1.30.2%20%28Stable%29/asio-1.30.2.tar.bz2
|
||||
sha512sums = 2d26cdcfcc0c310e82ab502551b51d70fd95ba4628bd306929e78539299974fc14aa6ba27cf256f1df7a56539cb885012ba02a202ae17bf817ee6311308a795a
|
||||
b2sums = d902fda2338d9717bb8f2f5d43468c5d0b64591814c3ae3134350650f0dd97bf241287347d324b11d0e6993b1b44373df13305d736df09ad3375ce4976f5bb27
|
||||
|
||||
pkgname = asio
|
6
asio/.nvchecker.toml
Normal file
6
asio/.nvchecker.toml
Normal file
@ -0,0 +1,6 @@
|
||||
[asio]
|
||||
source = "git"
|
||||
git = "https://github.com/chriskohlhoff/asio.git"
|
||||
prefix = "asio-"
|
||||
from_pattern = "-"
|
||||
to_pattern = "."
|
41
asio/PKGBUILD
Normal file
41
asio/PKGBUILD
Normal file
@ -0,0 +1,41 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
|
||||
# Contributor: Aaron Griffin <aaron@archlinux.org>
|
||||
|
||||
pkgname=asio
|
||||
pkgver=1.30.2
|
||||
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)
|
||||
sha512sums=('2d26cdcfcc0c310e82ab502551b51d70fd95ba4628bd306929e78539299974fc14aa6ba27cf256f1df7a56539cb885012ba02a202ae17bf817ee6311308a795a')
|
||||
b2sums=('d902fda2338d9717bb8f2f5d43468c5d0b64591814c3ae3134350650f0dd97bf241287347d324b11d0e6993b1b44373df13305d736df09ad3375ce4976f5bb27')
|
||||
|
||||
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:
|
Loading…
x
Reference in New Issue
Block a user