summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7d65dce6ba02fd94d05901da812e2ef55bb02c4d (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
# Maintainer: Max Alt m@adine.design
pkgname=qlip
pkgver=1.0.1
pkgrel=1
pkgdesc="Lightweight screenshot utility for linux"
arch=('any')
url="https://github.com/maxDTM/qlip"
license=('GPL-3.0-or-later')
depends=('python' 'tk')
optdepends=('maim: X11 screenshot capture'
            'slop: X11 region selection (used by maim)'
            'xdotool: X11 window/monitor detection'
            'xorg-xrandr: X11 monitor enumeration'
            'wmctrl: X11 improved window listing'
            'grim: Wayland screenshot capture'
            'slurp: Wayland region selection'
            'sway: Wayland monitor/window info (sway)'
            'hyprland: Wayland monitor/window info (Hyprland)'
            'wlr-randr: Wayland monitor enumeration (generic wlroots)')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('a0a9aa22bc6155667695ba03c76ab6a295c8828c684948824abfc2f46b12a029')

package() {
    cd "$srcdir/$pkgname-$pkgver"
    make DESTDIR="$pkgdir" PREFIX=/usr install
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    install -Dm644 src/qlip.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/qlip.svg"
}