diff options
author | Shengyu Zhang | 2017-07-30 12:10:15 +0800 |
---|---|---|
committer | Shengyu Zhang | 2017-07-30 12:10:15 +0800 |
commit | 94708fef98dde7512303313dd7c0fecb2415bd06 (patch) | |
tree | 095c0ce26f582ac5e03e9aabf86080811e5f3b82 | |
parent | 718b937e088af5fbbbb21d942200ceb05f9d73bb (diff) | |
download | aur-94708fef98dde7512303313dd7c0fecb2415bd06.tar.gz |
srain-dev: run in gdb for catch stacktrace, update to 0.06+
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 35 insertions, 12 deletions
@@ -1,10 +1,10 @@ # Generated by mksrcinfo v8 -# Wed Jun 14 06:34:08 UTC 2017 +# Sun Jul 30 04:09:58 UTC 2017 pkgbase = srain-dev - pkgdesc = Modern, beautiful IRC client written in GTK+ 3 - pkgver = 0.525.8eaacef + pkgdesc = Modern, beautiful IRC client written in GTK+ 3, develop and debug version + pkgver = 0.679.28fac2b pkgrel = 1 - url = https://github.com/SilverRainZ/srain + url = https://srain.im arch = i686 arch = x86_64 license = GPL @@ -18,6 +18,12 @@ pkgbase = srain-dev depends = python depends = curl depends = libnotify + depends = libconfig + depends = gdb + optdepends = glib-networking: TLS connection support + optdepends = python-sphinx: for generating documentation + optdepends = python-urllib3: avatar and pastebin support + optdepends = python-requests: avatar and pastebin support provides = srain conflicts = srain source = git+https://github.com/SilverRainZ/srain.git#branch=dev @@ -1,19 +1,27 @@ -# Maintainer: Shengyu Zhang <lastavengers at archlinuxcn dot org> +# Maintainer: Shengyu Zhang <arch at srain.im> pkgname=srain-dev -pkgver=0.525.8eaacef +pkgver=0.679.28fac2b pkgrel=1 -pkgdesc="Modern, beautiful IRC client written in GTK+ 3" +pkgdesc="Modern, beautiful IRC client written in GTK+ 3, develop and debug version" arch=('i686' 'x86_64') license=('GPL') -url="https://github.com/SilverRainZ/srain" -depends=('gtk3' 'python' 'curl' 'libnotify') +url="https://srain.im" makedepends=('git' 'make' 'gcc' 'pkg-config' 'gettext' 'imagemagick') +depends=('gtk3' 'python' 'curl' 'libnotify' 'libconfig' 'gdb') +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') provides=('srain') source=("git+https://github.com/SilverRainZ/srain.git#branch=dev") sha256sums=('SKIP') +_prefix='/usr' + pkgver() { cd ${pkgname%-dev} echo "0.$(git rev-list --count HEAD).$(git describe --always)" @@ -22,13 +30,22 @@ pkgver() { build() { cd ${pkgname%-dev} - mkdir build || true - ./configure --prefix=/usr --config-dir=/etc --disable-debug + ./configure --prefix=${_prefix} --config-dir=/etc --enable-debug make + make doc } package() { cd ${pkgname%-dev} - make DESTDIR=$pkgdir install + make DESTDIR=${pkgdir} install + make DESTDIR=${pkgdir} install-doc + mv ${pkgdir}${_prefix}/bin/srain{,-dev} + + cat << EOF > ${pkgdir}${_prefix}/bin/srain +!/bin/sh +gdb ${pkgdir}${_prefix}/bin/srain-dev -ex 'r' -ex 'bt' -ex 'q' +EOF + + chmod 755 ${pkgdir}${_prefix}/bin/srain } |