summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4197c93302dcc68fa4c0968cead4e28e9fd3e9af (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
# Contributor: Andreas Wagner < Andreas dot Wagner at em dot uni-frankfurt dot de >

pkgname=qvv
pkgver=4.05
pkgrel=1
pkgdesc="Qt-based image browser"
arch=('i686' 'x86_64')
url="http://cade.datamax.bg/qvv/"
license=('GPL2')
depends=('qt5-base')
source=("http://cade.noxrun.com/projects/qvv/$pkgname-$pkgver.tar.gz")

build() {
  cd "$pkgname-$pkgver/src"
  qmake qvv.qt5.pro
  make
}

package() {
  cd "$pkgname-$pkgver"
  install -dm755 "$pkgdir/usr/bin"
  install -dm755 "$pkgdir/usr/share/applications"
  install -dm755 $pkgdir/usr/share/icons/hicolor/{16x16/apps,128x128/apps}
  install -m755 src/qvv "$pkgdir/usr/bin/qvv"
  install -m644 qvv.desktop "$pkgdir/usr/share/applications/qvv.desktop"
  install -m644 images/qvv_icon_128x128.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/qvv.png"
  install -m644 images/qvv_icon_16x16.png "$pkgdir/usr/share/icons/hicolor/16x16/apps/qvv.png"
}

sha256sums=('eb95a51f5a897486d2a2045be1d4c2fd289ce9d351f1ba0cea7da20bb282d29e')