# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=fbpanel
pkgver=7.0
pkgrel=0
pkgdesc="A lightweight, NETWM compliant desktop panel."
url="http://aanatoly.github.io/fbpanel/"
arch="all"
license="Other"
depends=""
depends_dev=""
makedepends="coreutils linux-headers gtk+2.0-dev bash"
install=""
subpackages="$pkgname-doc"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/aanatoly/$pkgname/archive/${pkgver}.tar.gz"

builddir=${srcdir}/${pkgname}-${pkgver}
build() {
	cd "$builddir"
        ./configure \
           --prefix=/usr \
           --libexecdir=/usr/lib/fbpanal \
           --mandir=/usr/share/man
        make
}

package() {
	cd "$builddir"
        make DESTDIR=$pkgdir install
        install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

md5sums="8a15ac4e0f23a72b9d6be5151df712e5  fbpanel-7.0.tar.gz"
sha256sums="711570954f8f99235d6afb7ec3226dede20b832eb712a5bd00e4f793b75ac5bb  fbpanel-7.0.tar.gz"
sha512sums="9706a96569c41241de4dbd250c9d6a473b53a5e26e880f4c782041b2b91c7570046e1bee3070059fd2d333fb7159490732ef397b86701c72d4c65c0784948874  fbpanel-7.0.tar.gz"
