diff --git a/x11-libs/libXau-1.0.12.PKGBUILD b/x11-libs/libXau-1.0.12.PKGBUILD new file mode 100644 index 0000000..da62f11 --- /dev/null +++ b/x11-libs/libXau-1.0.12.PKGBUILD @@ -0,0 +1,34 @@ +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: