diff options
author | Jens Staal | 2015-08-24 08:54:34 +0200 |
---|---|---|
committer | Jens Staal | 2015-08-24 08:54:34 +0200 |
commit | 88b7a43bfdcb3cde6acc9a4581a9fe927e6693b3 (patch) | |
tree | 6bf090112a2f6923a665f0f1f1e55376d625e760 | |
download | aur-88b7a43bfdcb3cde6acc9a4581a9fe927e6693b3.tar.gz |
xcb-proto, dependency of xcb
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..628fbee4e13a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = mingw-w64-xcb-proto + pkgdesc = XML-XCB protocol descriptions (mingw-w64) + pkgver = 1.11 + pkgrel = 1 + url = http://xcb.freedesktop.org/ + arch = any + license = custom + makedepends = python + makedepends = libxml2 + source = http://xcb.freedesktop.org//dist/xcb-proto-1.11.tar.bz2 + sha256sums = b4aceee6502a0ce45fc39b33c541a2df4715d00b72e660ebe8c5bb444771e32e + +pkgname = mingw-w64-xcb-proto + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3fb4f50e379f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer Jens Staal <staal1978@gmial.com> +# adopted from official xcb-proto package: +# $Id$ +# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Jan de Groot <jgc@archlinux.org> + +pkgname=mingw-w64-xcb-proto +pkgver=1.11 +pkgrel=1 +pkgdesc="XML-XCB protocol descriptions (mingw-w64)" +arch=(any) +url="http://xcb.freedesktop.org/" +license=('custom') +makedepends=('python' 'libxml2') +source=($url/dist/xcb-proto-$pkgver.tar.bz2) +sha256sums=('b4aceee6502a0ce45fc39b33c541a2df4715d00b72e660ebe8c5bb444771e32e') + +_architectures="i686-w64-mingw32 x86_64-w64-mingw32" + +build() { + cd xcb-proto-$pkgver + for _arch in ${_architectures}; do + mkdir -p build-${_arch} && pushd build-${_arch} + ${_arch}-configure + make + popd + done +} + +package() { + cd xcb-proto-$pkgver + for _arch in ${_architectures}; do + cd "${srcdir}/xcb-proto-${pkgver}/build-${_arch}" + make DESTDIR="$pkgdir" install + done +} |