# Maintainer: Levente Polyak pkgname=gdb-dashboard-git _gitname=gdb-dashboard pkgver=0.0.1.149.7612d7f pkgrel=1 pkgdesc='Modular visual interface for GDB in Python' url='https://github.com/cyrus-and/gdb-dashboard' arch=('any') license=('MIT') depends=('gdb' 'binutils') optdepends=('python-pygments: syntax highlighting support') makedepends=('git') provides=('gdb-dashboard') conflicts=('gdb-dashboard') source=(${pkgname}::git+https://github.com/cyrus-and/gdb-dashboard) sha512sums=('SKIP') pkgver() { cd ${pkgname} printf "%s.%s.%s" "$(git describe --tags --abbrev=0|sed -r 's|v?(.+)|\1|')" \ "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { cd ${pkgname} install -Dm 644 .gdbinit -t "${pkgdir}/usr/share/${_gitname}" install -Dm 644 README.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" } # vim: ts=2 sw=2 et: