From 588975f959edf6eaae917963d12d2a73fee843b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 12 Aug 2018 17:59:27 +0200 Subject: Add initial package (shellrc) --- .gitignore | 16 ++++++++++++++++ shellrc/APKBUILD | 28 ++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .gitignore create mode 100644 shellrc/APKBUILD diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9313b04 --- /dev/null +++ b/.gitignore @@ -0,0 +1,16 @@ +*.apk +*.gz +*.tgz +*.bz2 +*.tbz2 +*.zip +*.tags +*.xz +*.part +*.tar +src +pkg +pkg-* +build.log +core +!core/ diff --git a/shellrc/APKBUILD b/shellrc/APKBUILD new file mode 100644 index 0000000..27de58b --- /dev/null +++ b/shellrc/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Karel Kočí +# Maintainer: Karel Kočí +pkgname=shellrc +pkgver=0.5.1 +pkgrel=0 +pkgdesc="Shell initialization files" +url="https://git.cynerd.cz/shellrc/" +arch="all" +license="GPL-3.0+" +subpackages="$pkgname-zsh $pkgname-bash" +source="https://git.cynerd.cz/shellrc/snapshot/$pkgname-$pkgver.tar.gz" +options="!check" + +package() { + "$builddir/install" --prefix "$pkgdir" +} + +zsh() { + depends="zsh" + "$builddir/install" --prefix "$pkgdir" --zsh --no-base +} + +bash() { + depends="bash" + "$builddir/install" --prefix "$pkgdir" --bash --no-base +} + +sha512sums="abcf8aec41e8d3334e120c6defa12bcb4481f8c96066a6a8d7190db27808a3165486d9d6d029d531202dc4fc85bbdca228fbbd93636679caf6b5565c75928495 shellrc-0.4.1.tar.gz" -- cgit v1.2.3