summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6d99fa7c52f15a7b794dfdd6a87175bacfcb802c (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
# Maintainer: Vincent <ippytraxx@installgentoo.com>

pkgname=gnome-twitch
pkgver=0.1.0
pkgrel=2
pkgdesc="Enjoy Twitch on your GNU/Linux desktop"
arch=('i686' 'x86_64')
url="https://github.com/Ippytraxx/gnome-twitch"
license=('GPL3')
makedepends=('git' 'meson')
depends=('gtk3' 'libsoup' 'json-glib' 'gstreamer' 'gst-libav' 'gst-plugins-base' 'gst-plugins-good' 'gst-plugins-bad' 'clutter-gst' 'clutter-gtk')
conflicts=('gnome-twitch-git')
install=gnome-twitch.install
source=("https://github.com/Ippytraxx/gnome-twitch/archive/v${pkgver}.tar.gz")
md5sums=('1047adaf29d2c948b68162d129a19fed')

build()
{
    cd "${pkgname}-${pkgver}"
    mkdir build
    meson . build
    cd build
    ninja
}

package()
{
    cd "${pkgname}-${pkgver}"
    cd build
    mesonconf -Dprefix=/usr 
    mesonconf -Dtype=release
    DESTDIR="$pkgdir" ninja install
}