diff options
author | Johnson170 | 2022-06-25 19:39:06 +0800 |
---|---|---|
committer | Johnson170 | 2022-06-25 19:39:06 +0800 |
commit | 9b959e0d5b445a43a0918d711b6b543812f3b8bd (patch) | |
tree | 8785260a13f9e42c17789555e081f7a1ed59ef51 | |
download | aur-9b959e0d5b445a43a0918d711b6b543812f3b8bd.tar.gz |
runners tools
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..281199fa79ce --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = runner + pkgdesc = A script to execut files + pkgver = 0.0.2 + pkgrel = 1 + url = https://github.com/Johnson170/runner + arch = x86_64 + license = GPL + makedepends = git + source = /runner-0.0.2::git+https://github.com/Johnson170/runner.git + md5sums = SKIP + +pkgname = runner diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..dfd77cb810c9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: 潘一萱 <1138401083@qq.com> +pkgname=runner +pkgver=0.0.2 +pkgrel=1 +pkgdesc="A script to execut files" +arch=('x86_64') +url="https://github.com/Johnson170/runner" +license=('GPL') +makedepends=('git') +source=("$srcdir/$pkgname-$pkgver::git+https://github.com/Johnson170/runner.git") +md5sums=("SKIP") + + +build() { + cd "$pkgname-$pkgver" + chmod u+x runner.sh +} + +package() { + cd "$pkgname-$pkgver" + sudo cp runner.sh /usr/bin/runner + sudo chmod 755 /usr/bin/runner +} |