pkgname=haruhishot pkgver=0.2.9 pkgrel=1.0 pkgdesc='One day Haruhi Suzumiya made a wlr screenshot tool' arch=('x86_64' 'aarch64') url='https://github.com/Decodetalkers/haruhishot' license=('MIT') depends=('wayland' 'wlroots' 'qt5-base') makedepends=('git' 'ninja' 'meson' 'rust' 'wayland-protocols' 'wlroots') source=("${pkgname}-v${pkgver}.tar.gz::https://github.com/Decodetalkers/haruhishot/archive/refs/tags/${pkgver}.tar.gz") sha256sums=('1ef74a15b36f97e06d8f46f62ed49545cb4c78fadaffbd2d3af4dd6a7879de4f') build() { cd ${pkgname}-$pkgver meson setup \ -Dprefix=/usr \ -Dbuildtype=release \ -Denable-notify=true \ -Denable-gui=true \ build ninja -C build } package() { cd ${pkgname}-$pkgver DESTDIR="$pkgdir" ninja -C build install }