xpr 1.2.0-1

This commit is contained in:
xhaa123 2024-04-16 17:34:16 +08:00
commit 401f6813ee

35
PKGBUILD Normal file
View File

@ -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 <future_linux@163.com>
pkgname=xpr
pkgver=1.2.0
pkgrel=1
pkgdesc="Print an X window dump from xwd"
arch=('x86_64')
url="https://xorg.freedesktop.org/"
license=('custom')
groups=('xorg-apps' 'xorg')
depends=('glibc' 'libx11' 'libxmu' 'bash')
makedepends=('util-macros')
source=(https://www.x.org/pub/individual/app/${pkgname}-${pkgver}.tar.xz)
sha256sums=(8b9402f8331309f0a9d8143d4d6129c4a7479ff9449616849b9f1e2a5835cec3)
build() {
cd ${pkgname}-${pkgver}
${CONFIGURE} \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}