summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: db5dc2668d2fb4f4349c99d875e3849f5cfe62b9 (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
# Maintainer: Sefa Eyeoglu <contact@scrumplex.net>

pkgname=screenshot-bash
pkgver=1.2.0
pkgrel=1
pkgdesc="Screenshot script, that uploads screenshot to a predefined server."
arch=("any")
url="https://gitlab.com/Scrumplex/ScreenshotBASH"
license=("GPL3")

depends=("bash" "flameshot" "kdialog" "sox")
makedepends=("git")

provides=("screenshot-bash" "upload-bash")
conflicts=("screenshot-bash-git")

source=("https://gitlab.com/Scrumplex/ScreenshotBASH/-/archive/${pkgver}/ScreenshotBASH-${pkgver}.tar.gz")
sha512sums=('be614b1fd867b715bc414b5949801c616b3b1bb0183950d871056ddcbfaa92309d658f6cfcb380d7aeacd8a6b52cb4e8ff1e1aada3b2809b6ff8e0763679f6e2')


package() {
    cd "ScreenshotBASH-${pkgver}"

    bash install.sh "$pkgdir/usr/bin"
    install -v -m644 -D "ScreenshotBASH.khotkeys" "$pkgdir/usr/share/khotkeys/ScreenshotBASH.khotkeys"
}