File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ pkgname=flameshot-git
2+ _pkgname=flameshot
3+ pkgver=r1981.86a646c3
4+ pkgrel=1
5+ pkgdesc=" Powerful yet simple to use screenshot software"
6+ arch=(' i686' ' x86_64' ' aarch64' ' armv7h' )
7+ url=" https://github.com/flameshot-org/flameshot"
8+ license=(' GPL-3.0-or-later' )
9+ depends=(' qt5-svg' ' hicolor-icon-theme' ' kguiaddons5' )
10+ makedepends=(' qt5-tools' ' cmake' )
11+ optdepends=(
12+ ' gnome-shell-extension-appindicator: for system tray icon if you are using Gnome'
13+ ' grim: for wlroots wayland support'
14+ ' xdg-desktop-portal: for wayland support, you will need the implementation for your wayland desktop environment'
15+ ' qt5-imageformats: for additional export image formats (e.g. tiff, webp, and more)'
16+ )
17+ provides=(flameshot)
18+ conflicts=(flameshot)
19+ source=()
20+
21+ prepare () {
22+ cp -R " ${startdir} /" " ${srcdir} /${_pkgname} /"
23+ }
24+
25+ pkgver () {
26+ cd " ${srcdir} /${_pkgname} "
27+
28+ printf " r%s.%s" " $( git rev-list --count HEAD) " " $( git rev-parse --short HEAD) "
29+ }
30+
31+ build () {
32+ cd " ${srcdir} /${_pkgname} "
33+
34+ cmake -B build -S . \
35+ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
36+ -DCMAKE_BUILD_TYPE=None \
37+ -DCMAKE_INSTALL_PREFIX=/usr \
38+ -DUSE_WAYLAND_CLIPBOARD=1 \
39+ -DDISABLE_UPDATE_CHECKER=1 \
40+ -Wno-dev
41+
42+ cmake --build build
43+ }
44+
45+ package () {
46+ cd " ${srcdir} /${_pkgname} "
47+
48+ DESTDIR=" ${pkgdir} " cmake --install build
49+ }
You can’t perform that action at this time.
0 commit comments