summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 58a71da530b5b672ae8a597325cdf3e6620cd232 (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: Roman Alenichev (vicimpa@ya.ru)

pkgname=chatroulette
pkgver=0.0.1
pkgrel=1
pkgdesc="ChatRoulette desktop client whithout blocking virtual camera."
arch=('x86_64')
url="https://github.com/vicimpa/chatroulette"
license=('custom')
depends=('libnotify' 'libxss' 'nspr' 'nss' 'gtk3' 'opera-ffmpeg-codecs' 'libegl' 'libgles')
optdepends=('gnome-keyring')
source=("chatroulette-${pkgver}-${pkgrel}.tar.gz::https://github.com/vicimpa/chatroulette/releases/download/0.0.1/ChatRoulette-linux-0.0.1.tar.xz")
sha256sums=('a166184a809fe48df21d66371b005e2bd9017ed54e8c86ac0734b56728d7d29b')

package() {
    mkdir -p "${pkgdir}/usr/lib/chatroulette"
    mkdir -p "${pkgdir}/usr/bin"
    mkdir -p "${pkgdir}/usr/share/applications"
    mkdir -p "${pkgdir}/usr/share/pixmaps"

    mv "${srcdir}/"* "${pkgdir}/usr/lib/chatroulette"
    mv "${pkgdir}/usr/lib/chatroulette/ChatRoulette" "${pkgdir}/usr/lib/chatroulette/chatroulette"

    cp "${startdir}/chatroulette.desktop" "${pkgdir}/usr/share/applications"
    cp "${startdir}/icon.png" "${pkgdir}/usr/share/pixmaps/chatroulette.png"

    chmod +x "${pkgdir}/usr/lib/chatroulette/chatroulette"
}