forked from archlinux/svntogit-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: file:///srv/repos/svn-packages/svn@375769 eb2447ed-0c53-47e4-bac8-5bc4a241df78
- Loading branch information
anthraxx
committed
Feb 17, 2020
1 parent
32a43b0
commit 8579506
Showing
1 changed file
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,39 +3,36 @@ | |
# Contributor: Aaron Griffin <[email protected]> | ||
|
||
pkgname=asio | ||
pkgver=1.12.2 | ||
pkgver=1.14.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://sourceforge.net/projects/asio/files/asio/${pkgver}%20%28Stable%29/asio-${pkgver}.tar.bz2") | ||
sha256sums=('4e27dcb37456ba707570334b91f4798721111ed67b69915685eac141895779aa') | ||
source=(https://sourceforge.net/projects/asio/files/asio/${pkgver}%20%28Stable%29/asio-${pkgver}.tar.bz2) | ||
sha256sums=('2e1be1a518a568525f79b5734d13731b6b4e4399ec576a0961db6e2d86112973') | ||
b2sums=('e28960d585a1a84c6be7d6205be310bd2baab36e93630b9f5f4fba593377e57d6baf1c60e2503c46cd00ae73b20b622215358cae2068e86b62dac7e782210ecb') | ||
|
||
prepare() { | ||
cd ${pkgname}-${pkgver}/ | ||
|
||
cd ${pkgname}-${pkgver} | ||
autoreconf -fiv | ||
} | ||
|
||
build() { | ||
cd ${pkgname}-${pkgver}/ | ||
|
||
cd ${pkgname}-${pkgver} | ||
./configure \ | ||
--prefix=/usr | ||
make | ||
} | ||
|
||
check() { | ||
cd ${pkgname}-${pkgver}/ | ||
|
||
cd ${pkgname}-${pkgver} | ||
make check | ||
} | ||
|
||
package() { | ||
cd ${pkgname}-${pkgver}/ | ||
|
||
cd ${pkgname}-${pkgver} | ||
make DESTDIR=${pkgdir} install | ||
install -Dm 644 COPYING LICENSE_1_0.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" | ||
} | ||
|