commit 60b551e470abf2ef98065d39f7c2fad9c4aedea5 Author: xhaa123 Date: Mon Apr 15 22:50:25 2024 +0800 iceauth 1.0.10-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..7f39bb5 --- /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=iceauth +pkgver=1.0.10 +pkgrel=1 +pkgdesc="ICE authority file utility" +arch=('x86_64') +url="https://xorg.freedesktop.org/" +license=('MIT-open-group') +groups=('xorg-apps' 'xorg') +depends=('libice' 'glibc') +makedepends=('util-macros' 'xorgproto') +source=(https://www.x.org/pub/individual/app/${pkgname}-${pkgver}.tar.xz) +sha256sums=(3deefb7da26af9dc799b5628d929d91c9af68c78575639944db3b955f29aa029) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}