diff options
author | Adam Perkowski | 2025-01-14 21:06:32 +0100 |
---|---|---|
committer | Adam Perkowski | 2025-01-14 21:06:32 +0100 |
commit | 67cf7e040af91816c6d4d6c36a59daa31da2f307 (patch) | |
tree | a9567a5e7eac32cd1e9482172b48fcead646eb4d | |
download | aur-67cf7e040af91816c6d4d6c36a59daa31da2f307.tar.gz |
psh: init
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a70a01ec5920 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = psh + pkgdesc = A small minimalistic shell + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/proh14/psh + arch = x86_64 + license = Unlicense + makedepends = make + makedepends = clang + depends = glibc + depends = readline + source = psh-1.0.tar.gz::https://github.com/proh14/psh/archive/1.0.tar.gz + sha256sums = a3bb226c59292a257b86b68f248b2182a99732763dff7760f0c2d8998f7a5cb6 + +pkgname = psh diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..0f4c8aaf19bc --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +* + +!.gitignore +!.SRCINFO +!PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..792e69ed3c74 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Adam Perkowski <adas1per@protonmail.com> +# https://github.com/adamperkowski/PKGBUILDs + +pkgname=psh +pkgver=1.0 +pkgrel=1 +pkgdesc='A small minimalistic shell' +arch=('x86_64') +url="https://github.com/proh14/$pkgname" +license=('Unlicense') +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") +sha256sums=('a3bb226c59292a257b86b68f248b2182a99732763dff7760f0c2d8998f7a5cb6') +makedepends=('make' 'clang') +depends=('glibc' 'readline') + +build() { + cd "$pkgname-$pkgver" + make +} + +package() { + cd "$pkgname-$pkgver" + install -Dm755 "build/$pkgname" -t "$pkgdir/usr/bin" + install -Dm644 UNLICENSE -t "$pkgdir/usr/share/licenses/$pkgname" + install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname" +} + +# vim: ts=2 sw=2 et: |