acf-openpdu/APKBUILD

31 lines
968 B
Plaintext
Raw Normal View History

2018-02-05 08:47:07 +00:00
# Contributor: Paolo Asperti <paolo@asperti.com>
# Maintainer: Paolo Asperti <paolo@asperti.com>
pkgname=acf-openpdu
pkgver=0.3
2018-02-05 08:47:07 +00:00
pkgrel=1
pkgdesc="ACF interface for the OpenPDU project"
url="https://github.com/openpdu/acf-openpdu"
2018-02-05 08:47:07 +00:00
arch="noarch"
license="GPL2"
depends="acf-core openpdu lua-cjson"
2018-02-05 08:47:07 +00:00
makedepends=""
install="acf-openpdu.post-install"
subpackages=""
source=""
options="!check"
2018-02-05 08:47:07 +00:00
build() {
:
2018-02-05 08:47:07 +00:00
}
package() {
mkdir -p "$pkgdir"
2018-02-05 08:47:07 +00:00
# make DESTDIR=$pkgdir install || return 1
install -Dm644 acf-app/openpdu.menu "$pkgdir"/usr/share/acf/app/openpdu/openpdu.menu
install -Dm644 acf-app/openpdu.roles "$pkgdir"/usr/share/acf/app/openpdu/openpdu.roles
install -Dm644 acf-app/openpdu-controller.lua "$pkgdir"/usr/share/acf/app/openpdu/openpdu-controller.lua
install -Dm644 acf-app/openpdu-model.lua "$pkgdir"/usr/share/acf/app/openpdu/openpdu-model.lua
install -Dm644 acf-app/openpdu-status-html.lsp "$pkgdir"/usr/share/acf/app/openpdu/openpdu-status-html.lsp
}