summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 21ae51095fa63e02cbe5f6be4115ab9db98cdb52 (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
29
30
31
32
33
34
35
36
37
# Maintainer: Rasmus Steinke <rasi at xssn dot at>
# Contributor: Christian Rebischke

pkgname=teiler-git
_pkgname=teiler
pkgver=506.a48733a
pkgrel=1
conflicts=('teiler')
provides=('teiler')
pkgdesc="a simple screenshot/screencast tool written in bash"
arch=('any')
url='https://github.com/carnager/teiler'
license=('GPL')
depends=('ffmpeg' 'maim' 'slop' 'xclip' 'xininfo-git' 'rofi' 'diffutils')
optdepends=('fb-client:         Upload to paste.xinu.at (or selfhosted filebin)'
            'openssh:           Upload to SSH server'
            'copyq:             Copy Images to Clipboard'
            'imgurbash2:             Upload images to imgur.com'
            'libnotify:         Notifications')

options=(!strip)
install="teiler.install"
makedepends=('git')
source=('git+https://github.com/carnager/teiler')

pkgver() {
    cd teiler
    printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd ${_pkgname}
    make DESTDIR="$pkgdir/" \
       PREFIX='/usr' \
       install
}
md5sums=('SKIP')