chore: moved contents of dist/ to res/

This commit is contained in:
David Allen 2024-11-14 17:06:49 -07:00
parent dac6c2306f
commit 516f100075
Signed by: towk
GPG key ID: 793B2924A49B3A3F

View file

@ -1,34 +0,0 @@
# Maintainer: David J. Allen <allend@lanl.gov>
pkgname=configurator
pkgver=v0.1.0alpha
pkgrel=1
pkgdesc="An extensible tool to dynamically generate config files from SMD with Jinja 2 templating support."
arch=("x86_64")
url="https://github.com/OpenCHAMI/configurator"
license=('MIT')
groups=("openchami")
provides=('configurator')
conflicts=('configurator')
https://github.com/OpenCHAMI/configurator/releases/download/v0.1.0-alpha/configurator
source_x86_64=(
"${url}/releases/download/v0.1.0-alpha/${pkgname}.tar.gz"
)
sha256sums_x86_64=('28e10f1e39757bbdc3a503de74dd4d8c610d9c78e89665fb42012e8ef7834d0f')
# we don't need to set pkgver just yet for the pre-release version...
# pkgver() {
# cd "$srcdir" || exit
# printf "%s" "$(git describe --tags --abbrev=0)"
# }
package() {
cd "$srcdir/" || exit
# install the binary to /usr/bin
mkdir -p "${pkgdir}/usr/bin"
mkdir -p "${pkgdir}/usr/lib/${pkgname}"
install -m755 configurator "${pkgdir}/usr/bin/configurator"
# install plugins to /usr/lib
install -m755 *.so "${pkgdir}/usr/lib/${pkgname}"
}