Last active
March 23, 2020 12:48
-
-
Save Xanewok/9b1046199782abbc33be0bbc0c6f3103 to your computer and use it in GitHub Desktop.
mingw-w64-capnproto
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
# Based on https://aur.archlinux.org/packages/mingw-w64-capnproto/ | |
# | |
# Maintainer: Igor Matuszewski <[email protected]> | |
# Contributors: Dave Reisner <[email protected]> | |
# Matthias Blaicher <[email protected]> | |
# Severen Redwood <[email protected]> | |
# Igor Matuszewski <[email protected]> | |
_realname=capnproto | |
pkgbase=mingw-w64-${_realname} | |
pkgname=${MINGW_PACKAGE_PREFIX}-${_realname} | |
pkgver=0.7.0 | |
pkgrel=1 | |
pkgdesc="Cap'n Proto serialization/RPC system" | |
arch=('any') | |
url='https://capnproto.org/' | |
license=('MIT') | |
source=("https://capnproto.org/capnproto-c++-${pkgver}.tar.gz") | |
sha512sums=('9f8fb5753155798fcf9377a87f984a54d9fc5157c41aa11cd94108a773ca22d6e6952657e2d8079c9806f7de06f316c94957329fa52dbab6207aaa3b52348f04') | |
build() { | |
cd "${srcdir}/capnproto-c++-${pkgver}" | |
[[ -d "${srcdir}/build-${CARCH}" ]] && rm -rf "${srcdir}/build-${CARCH}" | |
mkdir -p "${srcdir}/build-${CARCH}" && cd "${srcdir}/build-${CARCH}" | |
${srcdir}/capnproto-c++-${pkgver}/configure \ | |
--disable-shared \ | |
--enable-static | |
make | |
} | |
package() { | |
cd "${srcdir}/build-${CARCH}" | |
make DESTDIR="${pkgdir}" install | |
} | |
# vim:set ts=2 sw=2: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment