# $Id: PKGBUILD 92819 2013-06-15 13:06:25Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Wittfella <wittfella@wittfella.com>

pkgname=qtfm
pkgver=5.9
pkgrel=1
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')
install=$pkgname.install
changelog=$pkgname.changelog
source=(http://qt-apps.org/CONTENT/content-files/158787-qtfm.zip)
sha256sums=('07ffd61dd5d4aa7c16f1c544804517b621e3ef1a30eeda97c087219a3cb35128')

build() {
  cd "${srcdir}/$pkgname"

  qmake
  make
}

package() {
  cd "${srcdir}/$pkgname"

  make INSTALL_ROOT="${pkgdir}" install
}
