# Maintainer: Martchus _reponame=repoindex pkgname=repoindex pkgver=1.0.0 pkgrel=3 arch=('i686' 'x86_64') pkgdesc="Provides a web interface to browse Arch Linux package repositories (git version)." license=('GPL') depends=('qt5-base' 'qt5-network' 'pacman' 'c++utilities') makedepends= url="https://github.com/Martchus/${_reponame}" source=("${pkgname}::git://github.com/Martchus/${_reponame}.git") sha256sums=('SKIP') pkgver() { cd "${srcdir}/${pkgname}" echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } build() { cd "${srcdir}/${pkgname}" INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++ make } package() { cd "${srcdir}/${pkgname}" make install }