summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: adfcb36fe5c9ed0379164293491dcbbc7cc9637e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Jaroslav Lichtblau <svetlemodry@archlinux.org>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Wittfella <wittfella@wittfella.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=qtfm
pkgver=5.9
pkgrel=7
pkgdesc="A lightweight file manager"
arch=('i686' 'x86_64')
url="http://qt-apps.org/content/show.php/QtFM?content=158787"
license=('GPL')
depends=('file' 'qt5-base' 'desktop-file-utils')
changelog=$pkgname.changelog
source=(make_it_build_fixes.patch https://dl.opendesktop.org/api/files/downloadfile/id/1466643163/s/7e1e131b7045071f4cf4fd57b96b25dd/t/1520469280/u/265658/158787-qtfm.zip)
sha256sums=('1a77d7699e60be1af8ba0aef779894599bd46f5bc3545347d3989154d0576642'
            '07ffd61dd5d4aa7c16f1c544804517b621e3ef1a30eeda97c087219a3cb35128')

prepare() {
  cd $pkgname
  patch -Np1 < "$srcdir"/make_it_build_fixes.patch
}

build() {
  cd $pkgname
  qmake
  make
}

package() {
  cd $pkgname
  make INSTALL_ROOT="${pkgdir}" install
}