libxt 1.3.0-1

This commit is contained in:
xhaa123 2024-04-15 14:35:30 +08:00
commit eff2f7c25b

36
PKGBUILD Normal file
View File

@ -0,0 +1,36 @@
# 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 <future_linux@163.com>
pkgname=libxt
pkgver=1.3.0
pkgrel=1
pkgdesc="X11 toolkit intrinsics library"
arch=('x86_64')
url="https://xorg.freedesktop.org/"
license=('custom')
depends=('libsm' 'libx11')
makedepends=('util-macros')
source=(https://www.x.org/pub/individual/lib/libXt-${pkgver}.tar.xz)
sha256sums=(52820b3cdb827d08dc90bdfd1b0022a3ad8919b57a39808b12591973b331bf91)
build() {
cd libXt-${pkgver}
${CONFIGURE} \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--with-appdefaultdir=/etc/X11/app-defaults \
--docdir=/usr/share/doc/libXt-${pkgver}
make
}
package() {
cd libXt-${pkgver}
make DESTDIR=${pkgdir} install
}