diff options
author | John K. Luebs | 2016-03-18 20:57:18 -0400 |
---|---|---|
committer | John K. Luebs | 2016-03-18 20:57:18 -0400 |
commit | 660e69f7aca82809c6874c9194a2cb506bad7818 (patch) | |
tree | 64c9e090cc588b32bd0093ad3ea681eb3633f6c9 | |
parent | 332892e275a05d1fd08f0117656063aceeb0f98d (diff) | |
download | aur-660e69f7aca82809c6874c9194a2cb506bad7818.tar.gz |
update to Hipchat 4
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 30 insertions, 32 deletions
@@ -1,25 +1,29 @@ # Generated by mksrcinfo v8 -# Sun Dec 13 19:34:22 UTC 2015 +# Sat Mar 19 00:56:59 UTC 2016 pkgbase = hipchat pkgdesc = Persistent group chat using XMPP - pkgver = 2.2.1388 - pkgrel = 3 + pkgver = 4.0.1631 + pkgrel = 1 url = https://www.hipchat.com/linux install = hipchat.install - arch = i686 arch = x86_64 license = unknown + depends = fontconfig + depends = libgl depends = libltdl - depends = mesa depends = libxslt depends = hicolor-icon-theme depends = libxcomposite + depends = libxcursor + depends = libxkbcommon + depends = libxrandr + depends = libxslt + depends = libxss depends = libpulse - depends = gstreamer0.10 - depends = gstreamer0.10-base depends = xcb-util-keysyms - source = hipchat-2.2.1388-.tar.xz::http://downloads.hipchat.com/linux/arch//hipchat-2.2.1388-.pkg.tar.xz - sha1sums = 0f0ee7c25d85912b744f74c7ab85fa980e9a992e + depends = nss + source = https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client/pool/HipChat4-4.0.1631-Linux.deb + sha1sums = 98c4fd337fa3d8258b089f1da989840276705790 pkgname = hipchat @@ -5,35 +5,29 @@ # Contributor: Tom Vincent <http://tlvince.com/contact> # Contributor: Alexander <iam.asm89@gmail.com> -# I maintain this on github, feel free to submit a pull request to -# https://github.com/jkl1337/packages-archlinux.git - pkgname=hipchat -pkgver=2.2.1388 -pkgrel=3 +pkgver=4.0.1631 +pkgrel=1 pkgdesc="Persistent group chat using XMPP" -arch=('i686' 'x86_64') +arch=('x86_64') url="https://www.hipchat.com/linux" license=('unknown') -depends=('libltdl' 'mesa' 'libxslt' 'hicolor-icon-theme' - 'libxcomposite' 'libpulse' 'gstreamer0.10' 'gstreamer0.10-base' 'xcb-util-keysyms') +depends=('fontconfig' 'libgl' 'libltdl' 'libxslt' 'hicolor-icon-theme' + 'libxcomposite' 'libxcursor' 'libxkbcommon' 'libxrandr' 'libxslt' 'libxss' + 'libpulse' 'xcb-util-keysyms' 'nss') install='hipchat.install' -# remove pkg in basename to avoid confusing AUR helpers such as packer -source=(${pkgname}-${pkgver}-$CARCH.tar.xz::http://downloads.hipchat.com/linux/arch/$CARCH/${pkgname}-${pkgver}-$CARCH.pkg.tar.xz) - -if [ "$CARCH" == "i686" ]; then - sha1sums=('273a9abce4ac4cc6f3002657a50a38e2afa9e50a') +source=("https://atlassian.artifactoryonline.com/atlassian/hipchat-apt-client/pool/HipChat4-${pkgver}-Linux.deb") +sha1sums=('98c4fd337fa3d8258b089f1da989840276705790') -else - sha1sums=('0f0ee7c25d85912b744f74c7ab85fa980e9a992e') -fi +prepare() { + cd "${srcdir}" + mkdir "${pkgname}-${pkgver}" + cd "${pkgname}-${pkgver}" + tar xzf "${srcdir}"/data.tar.gz +} package() { - cp -R $srcdir/{opt,usr} "$pkgdir" - - # Fix for libstdc++ - # https://bbs.archlinux.org/viewtopic.php?id=181171 - # https://bugs.archlinux.org/task/40253 - # https://bbs.archlinux.org/viewtopic.php?pid=1413827 - ln -sf /usr/lib/libstdc++.so.6.0.20 $pkgdir/opt/HipChat/lib/libstdc++.so.6.0.18 + cp -R "${srcdir}/${pkgname}-${pkgver}"/{opt,usr} "${pkgdir}" + mkdir -p "${pkgdir}/usr/bin" + ln -nsf "/opt/HipChat4/bin/HipChat4" "${pkgdir}/usr/bin/HipChat4" } |