PKGBUILD
# Maintainer: pavbaranov
pkgname=despy-git
pkgver=r11.6579d7e
pkgrel=1
pkgdesc="Preview the current DSP settings"
arch=('i686' 'x86_64')
url="http://phobi4n.deviantart.com/art/StyleProject-Settings-Manager-556516470"
license=('GPL')
depends=('qt5-base')
makedepends=('qt5-base')
source=('git+https://github.com/magpie240/despy')
sha1sums=('SKIP')
_gitname="despy"
pkgver() {
cd "${_gitname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
rm -fr build
mkdir -p build
}
build() {
cd build
qmake-qt5 PREFIX=/usr ../${_gitname}
make
}
package() {
install -Dm755 build/despy ${pkgdir}/usr/bin/despy
}