diff options
author | Nicholas Boyd Isacsson | 2020-07-29 17:16:38 +0200 |
---|---|---|
committer | Nicholas Boyd Isacsson | 2020-07-29 17:16:38 +0200 |
commit | a64d165f8dc91d9f3ad4052c6fc2dad001b5b693 (patch) | |
tree | d12ed0add17d6354e7ac51184c74c214ecf9b4e5 | |
download | aur-a64d165f8dc91d9f3ad4052c6fc2dad001b5b693.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..391ebcf2f479 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = runin + pkgdesc = Launch a terminal to run a command, passing on stdin & stdout + pkgver = r2.a9636d1 + pkgrel = 1 + url = https://github.com/nichobi/runin + arch = any + license = GPL3 + makedepends = git + depends = bash + provides = ronin + source = git+https://github.com/nichobi/runin + md5sums = SKIP + +pkgname = runin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..07926670ba57 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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=('ronin') +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/" +} + |