commit 849394edad852779c6995e7967f56629541c8742 Author: xhaa123 Date: Mon Apr 15 22:56:36 2024 +0800 smproxy 1.0.7-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..4e09a7c --- /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=smproxy +pkgver=1.0.7 +pkgrel=1 +pkgdesc="Allows X applications that do not support X11R6 session management to participate in an X11R6 session" +arch=('x86_64') +url="https://xorg.freedesktop.org/" +license=('custom') +groups=('xorg-apps' 'xorg') +depends=('libsm' 'libxmu' 'libxt') +makedepends=('util-macros') +source=(https://www.x.org/pub/individual/app/${pkgname}-${pkgver}.tar.xz) +sha256sums=(4aa99237cc9dab7d87ce9bc7cca4116674a853b5f08dfe3f9db1bb2b2cf9f305) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}