diff --git a/x86_64/extra/PKGBUILD b/x86_64/extra/PKGBUILD new file mode 100644 index 0000000..cd65021 --- /dev/null +++ b/x86_64/extra/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Antonio Rojas +# Contributor: Lex Black + +pkgname=wayland-utils +pkgver=1.0.0 +pkgrel=2 +pkgdesc='Wayland tools to display information about current compositor' +url='https://gitlab.freedesktop.org/wayland/wayland-utils' +arch=(x86_64) +license=(MIT) +depends=(wayland) +makedepends=(meson wayland-protocols) +source=(https://gitlab.freedesktop.org/wayland/$pkgname/-/archive/$pkgname-$pkgver/$pkgname-$pkgname-$pkgver.tar.gz) +sha256sums=('72fc2471715077000f76833d72ad59ed24e3a3f77b47f77e45ae669bef99947a') + +build() { + meson $pkgname-$pkgname-$pkgver build \ + --prefix /usr + meson compile -C build +} + +package() { + meson install -C build --destdir "$pkgdir" + + install -Dm644 $pkgname-$pkgname-$pkgver/COPYING -t "$pkgdir"/usr/share/licenses/$pkgname +}