Closed dankamongmen closed 3 years ago
# Contributor: Nick Black <dankamongmen@gmail.com>
# Maintainer: Nick Black <dankamongmen@gmail.com>
pkgname=growlight
pkgver=1.2.16
pkgrel=0
pkgdesc="Block device manager"
url="https://nick-black.com/dankwiki/index.php/Growlight"
arch="all"
license="GPL3"
makedepends="cmake notcurses-dev libatasmart-dev util-linux-dev libcap-dev lvm2-dev cryptsetup-dev nettle-dev pciutils-dev libpciaccess-dev readline-dev zlib-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/dankamongmen/growlight/archive/v$pkgver.tar.gz"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
-DUSE_PANDOC=off \
-DUSE_LIBZFS=off \
$CMAKE_CROSSOPTS
make -C build
}
package() {
make -C build DESTDIR="$pkgdir" install
}
sha512sums="01f5d21a9b4a8bda62f59977cde4c880ede8f4564328004e2c1a0a2de8ccac9f031994673269bfec1b8333e3e2ebf51bd2a21908eba4adfa48b38a0d20d3f405 growlight-1.2.16.tar.gz"
We need a new release, since 1.2.16 has a hard dep on glibc (see #99). We also ought add the various copyright headers pkern requested in his debian review.
[schwarzgerat](0) $ git branch -l
master
* testing/growlight
testing/notcurses
[schwarzgerat](0) $ git remote -v
origin git@gitlab.alpinelinux.org:dankamongmen/aports.git (fetch)
origin git@gitlab.alpinelinux.org:dankamongmen/aports.git (push)
upstream https://gitlab.alpinelinux.org/alpine/aports.git (fetch)
upstream https://gitlab.alpinelinux.org/alpine/aports.git (push)
[schwarzgerat](0) $
notcurses 2.0.2 is now in alpine, so we're good on that front.
Done!
Alpine seems pretty good about accepting new packages. Let's get growlight in there.