summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Boyd Isacsson2020-12-04 13:50:22 +0100
committerNicholas Boyd Isacsson2020-12-04 13:50:38 +0100
commit7f4211f9d691c6c8390771915039fa27610c370b (patch)
treeacd80fcde0fc0554cd81ca0487d5b5f3b3d7c683
parent5459fec00f860e31b62950f24a40faf1c76405be (diff)
downloadaur-runin-git.tar.gz
Rename package to runin-git
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
2 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 98f4f8b166b..06aa57f40c2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
-pkgbase = runin
+pkgbase = runin-git
pkgdesc = Launch a terminal to run a command, passing on stdin & stdout
- pkgver = r2.a9636d1
+ pkgver = r5.b40f047
pkgrel = 1
url = https://github.com/nichobi/runin
arch = any
@@ -9,7 +9,7 @@ pkgbase = runin
depends = bash
provides = runin
source = git+https://github.com/nichobi/runin
- md5sums = SKIP
+ sha512sums = SKIP
-pkgname = runin
+pkgname = runin-git
diff --git a/PKGBUILD b/PKGBUILD
index c531513a07b..54e4193c65b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,25 @@
# Maintainer: Nicholas Boyd Isacsson <nicholas@isacsson.se>
-pkgname=runin
-pkgver=r2.a9636d1
+_pkgname=runin
+pkgname=runin-git
+pkgver=r5.b40f047
pkgrel=1
pkgdesc='Launch a terminal to run a command, passing on stdin & stdout'
arch=('any')
-url="https://github.com/nichobi/${pkgname}"
+url="https://github.com/nichobi/$_pkgname"
license=('GPL3')
depends=('bash')
makedepends=('git')
provides=('runin')
source=(git+$url)
-md5sums=(SKIP)
+sha512sums=(SKIP)
pkgver() {
- cd "${pkgname}"
+ 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/"
+ install -vDm 755 "$srcdir/$_pkgname"/runin -t "$pkgdir"/usr/bin/
}