summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0769f1c0aa3f348bce2a592350a225fb629ae946 (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
34
35
# 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=4
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=(https://dl.opendesktop.org/api/files/download/id/1466643163/158787-$pkgname.zip make_it_build_fixes.patch )
sha256sums=('07ffd61dd5d4aa7c16f1c544804517b621e3ef1a30eeda97c087219a3cb35128'
            '1a77d7699e60be1af8ba0aef779894599bd46f5bc3545347d3989154d0576642')

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

build() {
  cd $pkgname

  qmake
  make
}

package() {
  cd $pkgname

  make INSTALL_ROOT="${pkgdir}" install
}