diff options
author | FabioLolix | 2023-08-13 16:58:31 +0200 |
---|---|---|
committer | FabioLolix | 2023-08-13 16:58:31 +0200 |
commit | 11789b11dc28e96eae1e7e19131ae31c6d148e03 (patch) | |
tree | f0f33ed31dff778efaf5e40b030b182bbaae1d66 /PKGBUILD | |
parent | b1f53c1d6f1d66dc9193d19571e24a4ca71bd51d (diff) | |
download | aur-11789b11dc28e96eae1e7e19131ae31c6d148e03.tar.gz |
revision
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 56 |
1 files changed, 28 insertions, 28 deletions
@@ -1,39 +1,39 @@ -# Maintainer: ThePuzzlemaker <tpzker at thepuzzlemaker dot info> +# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix +# Contributor: ThePuzzlemaker <tpzker at thepuzzlemaker dot info> pkgname=zmqpp-git -pkgver=4.2.git040420 -pkgrel=1 -commit_hash=85ae96020f2376c53d2176e04e88e8e51021b748 -pkgdesc="ZMQPP's git 'develop' branch" -arch=('x86_64') -url='https://github.com/zeromq/zmqpp' -licence=('MIT') -depends=('libsodium' 'zeromq') -makedepends=('make') -provides=('libzmqpp') -conflicts=("zmqpp") -source=("git+$url#commit=$commit_hash") -md5sums=('SKIP') +pkgver=4.2.0.r47.gba4230d +pkgrel=2 +pkgdesc="High-level C++ binding for ZMQ" +arch=(x86_64) +url="https://zeromq.github.io/zmqpp/" +license=(MPL2) +depends=(glibc gcc-libs boost-libs zeromq) +makedepends=(git boost) +provides=(zmqpp) +conflicts=(zmqpp) +source=("git+https://github.com/zeromq/zmqpp.git#branch=develop" + "https://github.com/zeromq/zmqpp/pull/238/commits/4c0f99a4afd5a88e5e894d84f3eef0e0fb17f58d.patch") +sha256sums=('SKIP' + '11ccea23fe6482debb9083ccf4e724d87544b43401cacbc20b09a4f745855fc6') + +pkgver() { + cd zmqpp + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} prepare() { - cd zmqpp - git submodule update --init --recursive - PKGDIR_ESCAPE=$(echo "${pkgdir}" | sed 's/\//\\\//g') - sed -i "s/\/usr\/local/${PKGDIR_ESCAPE}\/usr/g" Makefile + cd zmqpp + patch -Np1 -i ../4c0f99a4afd5a88e5e894d84f3eef0e0fb17f58d.patch } build() { - cd zmqpp - make - make client + cd zmqpp + make + make client } package() { - cd zmqpp - make install - # basic fix to #237, I sent a PR to fix it in the makefile - cd "${pkgdir}/usr" - mv bin zmqpp - mkdir -p bin - mv zmqpp bin + cd zmqpp + make PREFIX="/usr/" DESTDIR="${pkgdir}/" install } |