blob: 033b4c1f0e63c4d4f3d59183d10f9cf56ce335af (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
#https://github.com/roniel-rhack/rip-go/releases/download/v0.2.2/rip-go-linux-amd64.tar.gz
_pkgauthor=roniel-rhack
_pkgname=rip-go
pkgname=${_pkgname}-bin
pkgdesc="Fuzzy find and kill processes from your terminal with real-time updates"
pkgver=0.2.3
pkgrel=1
_pkgvername=v${pkgver}
arch=('x86_64')
_barch=('amd64')
url="https://github.com/${_pkgauthor}/${_pkgname}"
_urlraw="https://raw.githubusercontent.com/${_pkgauthor}/${_pkgname}/${_pkgvername}"
license=('MIT')
depends=('glibc')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("LICENSE-${pkgver}::${_urlraw}/LICENSE"
"README-${pkgver}.md::${_urlraw}/README.md")
source_x86_64=("${_pkgname}-${arch[0]}-${pkgver}.tgz::${url}/releases/download/${_pkgvername}/${_pkgname}-linux-${_barch[0]}.tar.gz")
sha256sums=('1654036be573fb23122c21f88006be1458b6f6c0a59ccab4501fc10af0a104cc'
'3d24a044f9c281f18b02d318bce9f17514ce5e434a4ef16211fce721b359ebaa')
sha256sums_x86_64=('40c50a81e46415fd3d0979bd29a46b6adc40401f2b738c507d035ac75c04f63b')
package() {
cd "${srcdir}/" || exit
install -Dm755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 "README-${pkgver}.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 "LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|