35 lines
781 B
Bash
35 lines
781 B
Bash
pkgname=libXau
|
|
pkgver=1.0.12
|
|
pkgdesc="X11 authorisation library"
|
|
arch=('x86_64')
|
|
homepage="https://xorg.freedesktop.org/"
|
|
license=('MIT-open-group')
|
|
depends=('glibc' 'xorg-proto')
|
|
makedepends=('meson')
|
|
sources=("${pkgname}-${pkgver}.tar.xz")
|
|
urls=("${homepage}/releases/individual/lib/${sources[0]}")
|
|
md5sums=("4c9f81acf00b62e5de56a912691bd737")
|
|
|
|
src_prepare() {
|
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
|
}
|
|
|
|
src_build() {
|
|
meson setup build --prefix=/usr \
|
|
--buildtype=release
|
|
meson configure build --no-pager
|
|
meson compile -C build
|
|
}
|
|
|
|
src_check() {
|
|
meson test -C build --print-errorlogs
|
|
}
|
|
|
|
src_install() {
|
|
meson install -C build --destdir "$pkgdir"
|
|
|
|
install -Dvm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
|
}
|
|
|
|
# vim:ft=sh syn=sh et sw=2:
|