summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b5111c4d4feb8cf1785aa581c1329923e3a0b444 (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
38
39
40
41
42
43
44
# Maintainer: Yuexuan Gu <lastavengers@outlook.com>

pkgname=ricin-git
_pkgname=Ricin
pkgver=0.74.8e354f8
pkgrel=1
pkgdesc="A dead-simple but powerful Tox client."
url="https://ricin.im/"
arch=('i686' 'x86_64')
license=('GPL3')
makedepends=('git'
             'vala'
             'python'
             'intltool'
             )
depends=('gtk3'
         'toxcore'
         'glib2'
         'json-glib'
         'libsoup'
         'libnotify'
         )

source=("git+https://github.com/RicinApp/Ricin.git")
sha256sums=('SKIP')
provides=('ricin')
conflicts=('ricin')

pkgver() {
    cd "${srcdir}/${_pkgname}"
    echo "0.$(git rev-list --count HEAD).$(git describe --always)"
}

build() {
    cd "${srcdir}/${_pkgname}"

    ./waf distclean
    ./waf configure --prefix=${pkgdir}/usr build
}

package() {
    cd "${srcdir}/${_pkgname}"
    ./waf install
}