summaryrefslogtreecommitdiff
path: root/libX11
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-03-30 23:00:12 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-03-30 23:00:12 -0400
commit0f7fc864d98d3e8a852d3a6a835ae3331fde1bad (patch)
tree24b4ac4b7a476b0bb1607476531c5ba1a5f63a7e /libX11
parent39c272221a8baf3b3f2768d9de4f61abea57cf1f (diff)
downloadspm_packages-0f7fc864d98d3e8a852d3a6a835ae3331fde1bad.tar.gz
Current state
Diffstat (limited to 'libX11')
-rw-r--r--libX11/build.sh36
1 files changed, 36 insertions, 0 deletions
diff --git a/libX11/build.sh b/libX11/build.sh
new file mode 100644
index 0000000..d6e9a25
--- /dev/null
+++ b/libX11/build.sh
@@ -0,0 +1,36 @@
+#!/bin/bash
+name=libX11
+version=1.6.9
+revision=0
+sources=(
+ "https://www.x.org/archive/individual/lib/${name}-${version}.tar.gz"
+)
+build_depends=(
+ "libtool"
+ "pkgconf"
+)
+depends=(
+ "xorg-util-macros"
+ "xorg-xproto"
+ "xorg-xtrans"
+ "xcb-proto"
+ "xcb-util"
+ "libXau"
+ "libxcb"
+)
+
+function prepare() {
+ tar xf ${name}-${version}.tar.gz
+ cd ${name}-${version}
+}
+
+function build() {
+ ./configure --prefix=${_prefix} \
+ --enable-xthreads \
+ --disable-xf86bigfont
+ make -j${_maxjobs}
+}
+
+function package() {
+ make install DESTDIR="${_pkgdir}"
+}