diff options
author | hanss314 | 2018-10-21 10:29:09 -0400 |
---|---|---|
committer | hanss314 | 2018-10-21 10:29:09 -0400 |
commit | 6e4ef73cf8635d556fab919d29411e6c637557dd (patch) | |
tree | dd3af6805d305a1280c9636f968094e53c13e28f | |
download | aur-6e4ef73cf8635d556fab919d29411e6c637557dd.tar.gz |
Initial Commit
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7a0254f58934 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,11 @@ +pkgbase = apush + pkgdesc = Alternative Pathetic Useless SHell + pkgver = 0.0.1 + pkgrel = 1 + url = https://gitlab.com/hanss314/apush + arch = any + license = MIT + makedepends = make + +pkgname = apush + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..42262e44d71e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: hanss314 <hanss314@gmail.com> +pkgname=apush +pkgver=0.0.1 +pkgrel=1 +pkgdesc="Alternative Pathetic Useless SHell" +arch=('any') +url="https://gitlab.com/hanss314/apush" +license=('MIT') +groups=() +depends=() +makedepends=('make') +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +noextract=() + +prepare() { + git clone "$url" "$pkgname-$pkgver" + cd "$pkgname-$pkgver" + cd src + sed -i "s/DESTDIR = \/usr\/local\/bin/DESTDIR = \/usr\/bin/" Makefile +} +build() { + cd "$pkgname-$pkgver/src" + make +} + +package() { + cd "$pkgname-$pkgver/src" + mkdir "$pkgdir/bin" + make DESTDIR="$pkgdir/bin" install +} |