diff options
author | Shengyu Zhang | 2018-09-12 13:40:20 +0800 |
---|---|---|
committer | Shengyu Zhang | 2018-09-12 13:43:00 +0800 |
commit | 34913169c0d9120eb2944edea6f4305a9c3387be (patch) | |
tree | a06acaf5a7eca186c287e7460531a51f7a28ac91 | |
parent | 81124fc2acd88cf7620d552e70097f28c53a638d (diff) | |
download | aur-34913169c0d9120eb2944edea6f4305a9c3387be.tar.gz |
srain-git: update for dependencies and build opt changed
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 22 insertions, 20 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Thu Aug 16 14:51:36 UTC 2018 +# Wed Sep 12 05:42:41 UTC 2018 pkgbase = srain-git - pkgdesc = Modern, beautiful IRC client written in GTK+ 3, git version - pkgver = 0.1042.9809230 + pkgdesc = Modern IRC client, git version + pkgver = 1.0.0rc1.1067.0542dd1 pkgrel = 1 url = https://srain.im arch = i686 @@ -13,16 +13,12 @@ pkgbase = srain-git makedepends = gcc makedepends = pkg-config makedepends = gettext - makedepends = imagemagick + makedepends = python-sphinx + depends = glib2 depends = gtk3 - depends = python - depends = libnotify depends = libconfig depends = libsoup 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=master @@ -1,39 +1,45 @@ -# Maintainer: Shengyu Zhang <arch at srain.im> +# Maintainer: Shengyu Zhang <la@archlinuxcn.org> pkgname=srain-git -pkgver=0.1042.9809230 +pkgver=1.0.0rc1.1067.0542dd1 +_pkgver=1.0.0rc1 pkgrel=1 -pkgdesc="Modern, beautiful IRC client written in GTK+ 3, git version" +pkgdesc="Modern IRC client, git version" arch=('i686' 'x86_64') license=('GPL') url="https://srain.im" -makedepends=('git' 'make' 'gcc' 'pkg-config' 'gettext' 'imagemagick') -depends=('gtk3' 'python' 'libnotify' 'libconfig' 'libsoup') +makedepends=('git' 'make' 'gcc' 'pkg-config' 'gettext' 'python-sphinx') +depends=('glib2' 'gtk3' 'libconfig' 'libsoup') 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=master") sha256sums=('SKIP') +_prefix='/usr' + pkgver() { cd ${pkgname%-git} - echo "0.$(git rev-list --count HEAD).$(git describe --always)" + echo "${_pkgver}.$(git rev-list --count HEAD).$(git describe --always)" } build() { cd ${pkgname%-git} - ./configure --prefix=/usr --config-dir=/etc --disable-debug + ./configure \ + --prefix=${_prefix} \ + --datadir=${_prefix}/share \ + --sysconfdir=/etc \ + --disable-debug make + make doc } package() { cd ${pkgname%-git} - make DESTDIR=$pkgdir install + make DESTDIR=${pkgdir} install + make DESTDIR=${pkgdir} install-doc } |