# FOR THE NON-GIT VERSION (on which the git version is based): # # Contributor: Jaroslav Lichtblau # Contributor: Brad Fanella # Contributor: Wittfella # Maintainer: Stefan Husmann # # GIT VERSION # # Maintainer: BrainwreckedTech _pkgname=qtfm pkgname=$_pkgname-git pkgver=2022.11.01 pkgrel=1 pkgdesc="A lightweight file manager (git version)" arch=('i686' 'x86_64') url="https://github.com/rodlie/qtfm/releases" license=('GPL') #depends=('qt5-base' 'desktop-file-utils' 'ffmpeg' 'hicolor-icon-theme' 'imagemagick') depends=('qt5-base' 'desktop-file-utils' 'hicolor-icon-theme' 'imagemagick') provides=('qtfm') conflicts=('qtfm') source=('qtfm::git+https://github.com/rodlie/qtfm.git#branch=master') sha256sums=('SKIP') pkgver() { cd "$_pkgname" git log -1 --format=%ci | sed 's/[ :-]/./g' | cut -d. -f1-3 } #prepare() { # This is left here as a note in case a patch is ever needed again. # cd "${pkgname%-git}" # patch -Np1 < "$srcdir"/patch.patch #} build() { cd $_pkgname [[ -d build ]] || mkdir build cd build # CONFIG+=with_ffmpeg is currently broken due to deprecations qmake CONFIG+=release CONFIG+=with_magick PREFIX=/usr .. make } package() { cd $_pkgname/build make INSTALL_ROOT="$pkgdir" install }