# Maintainer: MatMoul _githubuser=aarnt _githubrepo=octopi _pkgtagname=v0.15.0 pkgname=octopi-notifier-qt5 pkgver=0.15.0 pkgrel=3 pkgdesc='Notifier for Octopi using Qt5 libs' arch=('any') url="https://tintaescura.com/projects/octopi/" license=('GPL2') #depends=('octopi' 'knotifications') depends=('octopi') makedepends=('qt5-tools') optdepends=('xfce4-notifyd: for notifications in XFCE') provides=('octopi-notifier') source=("${_githubrepo}::https://github.com/${_githubuser}/${_githubrepo}/archive/refs/tags/${_pkgtagname}.tar.gz") sha256sums=('e94525d906d6ab4f5fc594cf1a267668ae5f1fa7f32e449ddfa84328dd738f30') build() { cd "${_githubrepo}-${pkgver}" msg "Building octopi-notifier..." cd notifier qmake-qt5 PREFIX=/usr QMAKE_CFLAGS="${CFLAGS}" QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_LFLAGS="${LDFLAGS}" octopi-notifier.pro make } package() { cd "${_githubrepo}-${pkgver}" cd notifier make INSTALL_ROOT="${pkgdir}" install }