summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ca5653278b8..af963aa27c9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,22 @@
# Maintainer: Alex J. Malozemoff <amaloz@galois.com>
pkgname=matterhorn-bin
pkgver=50200.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="A terminal-based chat client for MatterMost"
arch=('x86_64')
url="https://github.com/matterhorn-chat/matterhorn"
license=('BSD')
provides=('matterhorn-bin')
conflicts=('matterhorn' 'matterhorn-git')
-depends=('ncurses5-compat-libs')
-source=("https://github.com/matterhorn-chat/matterhorn/releases/download/${pkgver}/matterhorn-${pkgver}-ubuntu-x86_64.tar.bz2")
-sha1sums=('b5c3baa6b9de25b938da2624ec4631f6398d87ff')
+depends=('gmp' 'libffi' 'ncurses5-compat-libs' 'zlib')
+source=("https://github.com/matterhorn-chat/matterhorn/releases/download/${pkgver}/matterhorn-${pkgver}-ubuntu-x86_64.tar.bz2"
+ "LICENSE::https://github.com/matterhorn-chat/matterhorn/raw/master/LICENSE")
+sha1sums=('b5c3baa6b9de25b938da2624ec4631f6398d87ff'
+ '42e13363365a1fed1318f9e7fadd8d1760e7ba95')
package() {
- cd "$srcdir/matterhorn-$pkgver-Ubuntu-x86_64"
- mkdir -p "$pkgdir/usr/bin"
- cp matterhorn "$pkgdir/usr/bin"
+ install -m644 -D LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ cd ${srcdir}/matterhorn-${pkgver}-Ubuntu-${arch}
+ install -m755 -D matterhorn ${pkgdir}/usr/bin/matterhorn
+
}