blob: 1130919ffe047172ab98bd61205ebca7028e596c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Maintainer: Cam Webb <cw@camwebb.info>
pkgname=slacka
pkgver=1.0.1
pkgrel=1
pkgdesc="A lightweight CLI client for Slack, in Gawk"
arch=('any')
url="https://github.com/camwebb/slacka"
license=('Unlicense')
depends=('gawk' 'gawk-json' 'curl')
source=("$pkgname-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
md5sums=('f47368361f5b89f15931692c9e975864')
package() {
install -Dm755 ${srcdir}/$pkgname-$pkgver/slacka ${pkgdir}/usr/bin/slacka
install -Dm644 ${srcdir}/$pkgname-$pkgver/UNLICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
install -Dm644 ${srcdir}/$pkgname-$pkgver/config.json ${pkgdir}/usr/share/${pkgname}/config.json
}
|