aboutsummaryrefslogtreecommitdiff
path: root/xfce4-screenshooter/Pkgfile
blob: 05ef9bead42c841f01f70964e1d4777b644bdc89 (plain) (blame)
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
# Description: Xfce4-screenshooter allows you to capture the entire screen, the active window or a selected region.
# URL: https://xfce.org
# Maintainer: Jay Lanagan, j at lngn dot net
# Depends on: xfce4-panel libsoup3
# Optional: wlr-protocols

name=xfce4-screenshooter
version=1.11.2
release=1
source=(https://archive.xfce.org/src/apps/xfce4-screenshooter/1.11/xfce4-screenshooter-$version.tar.xz)

build() {

	meson setup $name-$version build \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--buildtype=plain \
		-Db_lto=true \
		-Db_pie=true

	meson compile -C build
	DESTDIR=$PKG meson install -C build

	rm -rf $PKG/usr/share/locale

}