void-packages/srcpkgs/python3-xcffib/template

21 lines
763 B
Bash

# Template file for 'python3-xcffib'
pkgname=python3-xcffib
version=1.3.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools pkg-config cabal-install parallel xcb-proto python3-cffi python3-wheel"
makedepends="python3-devel libffi-devel libxcb-devel python3-six"
depends="python3-six python3-cffi libxcb"
short_desc="Drop-in replacement for xpyb based on cffi"
maintainer="Kai Stian Olstad <void@olstad.com>"
license="Apache-2.0"
homepage="https://github.com/tych0/xcffib"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=e0819e9cf56d47839a58755728af22eee02cad3b8b57157f8f682f187da96013
nocross="Cannot yet cross compile with Haskell"
pre_build() {
cabal v2-update
PKG_CONFIG_PATH=/usr/lib/pkgconfig make ${makejobs} xcffib
}