diff options
Diffstat (limited to 'xcb-proto/build.sh')
-rw-r--r-- | xcb-proto/build.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/xcb-proto/build.sh b/xcb-proto/build.sh new file mode 100644 index 0000000..e2778a8 --- /dev/null +++ b/xcb-proto/build.sh @@ -0,0 +1,25 @@ +#!/bin/bash +name=xcb-proto +version=1.14 +revision=0 +sources=( + "https://www.x.org/archive/individual/proto/${name}-${version}.tar.gz" +) +build_depends=( +) +depends=( +) + +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}" +} |