From 90d8e9651130980478b9ebb4258115468e6b7376 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Mon, 15 Apr 2024 14:38:38 +0800 Subject: [PATCH] libxmu 1.1.4-1 --- PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..86dfbd9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=libxmu +pkgver=1.1.4 +pkgrel=1 +pkgdesc="X11 miscellaneous micro-utility library" +arch=('x86_64') +url="https://xorg.freedesktop.org/" +license=('custom') +depends=('libxext' 'libxt' 'libx11' 'xorgproto' 'glibc') +makedepends=('util-macros') +source=(https://www.x.org/pub/individual/lib/libXmu-${pkgver}.tar.xz) +sha256sums=(210de3ab9c3e9382572c25d17c2518a854ce6e2c62c5f8315deac7579e758244) + +build() { + cd libXmu-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --docdir=/usr/share/doc/libXmu-${pkgver} + + make +} + +package() { + cd libXmu-${pkgver} + + make DESTDIR=${pkgdir} install +}