commit 505fefa9a75884efc5d717958822afcd11adc376 Author: xhaa123 Date: Mon Apr 15 22:47:14 2024 +0800 xbitmaps 1.1.3-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..9234a7e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# 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=xbitmaps +pkgver=1.1.3 +pkgrel=1 +pkgdesc="X.org Bitmap files" +arch=('x86_64') +url="https://xorg.freedesktop.org" +license=('custom') +makedepends=('util-macros') +source=(https://www.x.org/pub/individual/data/${pkgname}-${pkgver}.tar.xz) +sha256sums=(ad6cad54887832a17d86c2ccfc5e52a1dfab090f8307b152c78b0e1529cd0f7a) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}