blob: e8a403431fe0a5552c7aed27284d9d7d5eebf260 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
pkgname=haruhishot
pkgver=0.3.0
pkgrel=2.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=('1784ba61b867fa6a2abe2304173531b941f0d192c30096e31f2e824976457b6f')
build() {
cd ${pkgname}-$pkgver
meson setup \
-Dprefix=/usr \
-Dbuildtype=release \
-Denable-notify=true \
-Denable-gui=true \
-Ddesktop-entry=true \
build
ninja -C build
}
package() {
cd ${pkgname}-$pkgver
DESTDIR="$pkgdir" ninja -C build install
}
|