Skip to content

Commit

Permalink
upgpkg: asio 1.14.0-1
Browse files Browse the repository at this point in the history
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.
19 changes: 8 additions & 11 deletions asio/trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}
Expand Down

0 comments on commit 8579506

Please sign in to comment.