summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2fc0b4ef721a3c927e5d08af5492052e8ef24de1 (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
# Maintainer: Philipp Schaffrath <philipp dot schaffrath at gmail dot com>

pkgname=giph
pkgver=1.1.1
pkgrel=1
pkgdesc='video recorder that records the desktop, a window or a selection'
url='https://github.com/phisch/giph'
license=('MIT')
arch=('any')
depends=('bash' 'ffmpeg' 'xdotool')
optdepends=('slop: for interactive selection'
            'libnotify: for error and success notifications'
            'procps-ng: for pgrep used in the --stop flag')
makedepends=('git')
provides=('giph')
conflicts=('giph')
source=("${url}/archive/${pkgver}.tar.gz")
sha256sums=('138ee2b6a023a2d61ff8ad3d0be0228914140d2d0f18d90202ab5e46bec3a22a')

package() {
    cd "$pkgname-${pkgver}"
    make DESTDIR="${pkgdir}" PREFIX="/usr" install
    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}