blob: 3bab9de1a5ba98257aa041d271283f3edaff8a43 (
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
|
pkgname=haruhishot
pkgver=0.7.1
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')
makedepends=('git' 'ninja' 'meson' 'rust' 'wayland-protocols' 'scdoc')
source=("${pkgname}-v${pkgver}.tar.gz::https://github.com/Decodetalkers/haruhishot/archive/refs/tags/v${pkgver}.tar.gz")
options+=(!lto)
sha256sums=('2deeec18a7d92e104d23b8548be6c03092025b58416a5ed09701874430c0268d')
build() {
cd ${pkgname}-$pkgver
meson setup \
-Dprefix=/usr \
-Dbuildtype=release \
build
ninja -C build
}
package() {
cd ${pkgname}-$pkgver
DESTDIR="$pkgdir" ninja -C build install
}
|