# -*-sh-*- # Description: Lightweight TUI display manager # URL: https://github.com/fairyglade/ly # Maintainer: poq # Depends on: name=ly version=git-4ee2b3e sversion=4ee2b3e release=1 source=(ly) gitsource=https://github.com/fairyglade/ly build() { cd $PKGMK_SOURCE_DIR if cd $name; then git reset --hard git pull $gitsource else git clone $gitsource $name cd $name fi git checkout $sversion git submodule update --init make make DESTDIR=$PKG \ PREFIX=/usr \ MANDIR=/usr/man\ install install -Dm 0755 $SRC/ly $PKG/etc/rc.d/ly }