summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 01e8fe03f416f440371a75655861ff18de0f0d0b (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
# Maintainer: Alex J. Malozemoff <amaloz@galois.com>
pkgname=matterhorn
pkgver=40901.0.0
pkgrel=2
pkgdesc="A terminal-based chat client for MatterMost"
arch=('any')
url="https://github.com/matterhorn-chat/matterhorn"
license=('BSD')
provides=('matterhorn')
conflicts=('matterhorn-git' 'matterhorn-bin')
depends=('ncurses5-compat-libs')
makedepends=('git' 'cabal-install')
source=("https://github.com/matterhorn-chat/matterhorn/archive/${pkgver}.tar.gz")
sha1sums=('183fc10600066a1ad47d235fc29597300eb14ca3')


build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./install.sh
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  install -m755 -D $(find . -name "matterhorn" -type f) "${pkgdir}"/usr/bin/matterhorn
  install -m644 -D LICENSE "${pkgdir}"/usr/share/licenses/matterhorn/LICENSE
}