x11perf/PKGBUILD

36 lines
975 B
Bash
Raw Normal View History

2024-04-15 22:57:42 +08:00
# 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=x11perf
pkgver=1.6.2
pkgrel=1
pkgdesc="Simple X server performance benchmarker"
arch=('x86_64')
url="https://xorg.freedesktop.org/"
license=('custom')
groups=('xorg-apps' 'xorg')
depends=('libx11' 'libxmu' 'libxrender' 'libxft' 'libxext')
makedepends=('util-macros')
source=(https://xorg.freedesktop.org/archive/individual/test/${pkgname}-${pkgver}.tar.xz)
sha256sums=(5a0e7cea47716ad07ceca38bbd07ae06459ee4d837b9c9dfc21ccb94e3e24fcc)
build() {
cd ${pkgname}-${pkgver}
${CONFIGURE} \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}