summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e63c6cb83605787a359c23a37b2800f10142182c (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
# Maintainer: Shengyu Zhang <arch at srain.im>

pkgname=srain
pkgver=0.06.2
pkgrel=1
pkgdesc="Modern, beautiful IRC client written in GTK+ 3"
arch=('i686' 'x86_64')
license=('GPL')
url="https://srain.im"
depends=('gtk3' 'python' 'curl' 'libnotify' 'libconfig' 'libsoup')
makedepends=('git' 'make' 'gcc' 'pkg-config' 'gettext' 'imagemagick')
optdepends=(
    'glib-networking: TLS connection support'
    'python-sphinx: for generating documentation'
    'python-urllib3: avatar and pastebin support'
    'python-requests: avatar and pastebin support'
    )
conflicts=('srain-git')
provides=('srain')
source=("https://github.com/SilverRainZ/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('286f84b3177edfcffbff751b7f556cc07142304cc0df5634762cf7b6d0267cf8')

build() {
    cd ${pkgname}-${pkgver}

    ./configure --prefix=/usr --config-dir=/etc --disable-debug
    make
}

package() {
    cd ${pkgname}-${pkgver}

    make DESTDIR=$pkgdir install
}