blob: c531513a07b220c9c144e35f7bcb5732d44f6732 (
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
|
# Maintainer: Nicholas Boyd Isacsson <nicholas@isacsson.se>
pkgname=runin
pkgver=r2.a9636d1
pkgrel=1
pkgdesc='Launch a terminal to run a command, passing on stdin & stdout'
arch=('any')
url="https://github.com/nichobi/${pkgname}"
license=('GPL3')
depends=('bash')
makedepends=('git')
provides=('runin')
source=(git+$url)
md5sums=(SKIP)
pkgver() {
cd "${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${pkgname}"
install -vDm 755 runin -t "${pkgdir}/usr/bin/"
}
|