# Description:  A small library for X window manipulation
# URL:  https://github.com/wmutils/libwm
# Maintainer:  z3bra <dev at z3bra dot org>
# Depends on: xorg-libxcb 

name=libwm
version=git-d10dc9e
release=2
source=()

gitsource=git://github.com/wmutils/$name

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

    make
    make DESTDIR=$PKG PREFIX=/usr MANPREFIX=/usr/share/man install
}
# vim: set ft=sh ts=4 et:
