summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Grande2020-08-17 10:21:25 -0400
committerVincent Grande2020-08-17 10:21:25 -0400
commit68f12ecb7fc0afbdc8c1ccae7232573b2615d825 (patch)
tree350b63877f0416d21a0c903f47a060db603daba7
downloadaur-68f12ecb7fc0afbdc8c1ccae7232573b2615d825.tar.gz
initial upload
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD49
2 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fcddec42bc0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = lib32-libx11-git
+ pkgdesc = X11 client-side library (32-bit)
+ pkgver = 1.6.11
+ pkgrel = 1
+ url = https://xorg.freedesktop.org/
+ arch = x86_64
+ license = custom:XFREE86
+ makedepends = xorg-util-macros
+ makedepends = xorgproto
+ makedepends = xtrans
+ makedepends = gcc-multilib
+ depends = lib32-libxcb
+ depends = libx11
+ provides = lib32-libx11
+ conflicts = lib32-libx11
+ source = git+https://gitlab.freedesktop.org/xorg/lib/libx11.git
+ validpgpkeys = SKIP
+ validpgpkeys = SKIP
+ validpgpkeys = SKIP
+ validpgpkeys = SKIP
+ sha512sums = SKIP
+ sha512sums = SKIP
+
+pkgname = lib32-libx11-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a2fb096c306
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Vincent Grande <shoober420@gmail.com>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+
+_pkgbasename=libx11
+pkgname=lib32-$_pkgbasename-git
+pkgver=1.6.11
+pkgrel=1
+pkgdesc="X11 client-side library (32-bit)"
+arch=(x86_64)
+url="https://xorg.freedesktop.org/"
+depends=('lib32-libxcb' $_pkgbasename)
+makedepends=('xorg-util-macros' 'xorgproto' 'xtrans' 'gcc-multilib')
+provides=(lib32-libx11)
+conflicts=(lib32-libx11)
+license=('custom:XFREE86')
+source=("git+https://gitlab.freedesktop.org/xorg/lib/libx11.git")
+sha512sums=('SKIP'
+ 'SKIP')
+validpgpkeys=('SKIP') # Alan Coopersmith <alanc@freedesktop.org>
+validpgpkeys+=('SKIP') # Matthieu Herrb <matthieu.herrb@laas.fr>
+validpgpkeys+=('SKIP') # Matt Turner <mattst88@gmail.com>
+validpgpkeys+=('SKIP') # Adam Jackson <ajax@nwnk.net>
+
+build() {
+ export CC="gcc -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd libX11-${pkgver}
+ ./configure --prefix=/usr --disable-static --disable-xf86bigfont \
+ --libdir=/usr/lib32 --disable-specs
+ make
+}
+
+#check() {
+# cd libX11-${pkgver}
+
+# make check
+#}
+
+package() {
+ cd libX11-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}"/usr/{include,share}
+
+ mkdir -p "$pkgdir/usr/share/licenses"
+ ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}
+