blob: c4a18f98e44703d1e16fbf995101fdfcf77b8bbc (
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
45
46
47
48
49
|
# Maintainer: Yuexuan Gu <lastavengers@outlook.com>
pkgname=ricin-git
_pkgname=Ricin
pkgver=0.680.89ad7e7
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 --bindir=${pkgdir}/usr/bin
./waf build
}
package() {
cd "${srcdir}/${_pkgname}"
./waf install
# cover ${pkgdir}/usr/bin/Ricin"
rm "${pkgdir}/usr/bin/${_pkgname}"
install -Dm755 "build/${_pkgname}" "${pkgdir}/usr/bin/ricin"
}
|