diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-03-30 23:00:12 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-03-30 23:00:12 -0400 |
commit | 0f7fc864d98d3e8a852d3a6a835ae3331fde1bad (patch) | |
tree | 24b4ac4b7a476b0bb1607476531c5ba1a5f63a7e /libxcb | |
parent | 39c272221a8baf3b3f2768d9de4f61abea57cf1f (diff) | |
download | spm_packages-0f7fc864d98d3e8a852d3a6a835ae3331fde1bad.tar.gz |
Current state
Diffstat (limited to 'libxcb')
-rw-r--r-- | libxcb/build.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libxcb/build.sh b/libxcb/build.sh new file mode 100644 index 0000000..01c4043 --- /dev/null +++ b/libxcb/build.sh @@ -0,0 +1,30 @@ +#!/bin/bash +name=libxcb +version=1.14 +revision=0 +sources=( + "https://www.x.org/archive/individual/xcb/${name}-${version}.tar.gz" +) +build_depends=( + "pkgconf" + "python" +) +depends=( + "libXau" + "xorg-util-macros" + "xcb-proto" +) + +function prepare() { + tar xf ${name}-${version}.tar.gz + cd ${name}-${version} +} + +function build() { + ./configure --prefix=${_prefix} + make -j${_maxjobs} +} + +function package() { + make install DESTDIR="${_pkgdir}" +} |