summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 743bde7148a45d424d74b05a30a5471286127710 (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
# Maintainer: banbanchs <memory.silentvoyage[at]gmail.com>
# Contributor: Alexander Kazarin <boiler[at]co.ru>
pkgname=showimage
pkgver=1.10.1
_pkgver=1.10
pkgrel=1
pkgdesc="ShowImage is a simple KDE based image viewer using the maximum space inside its window without cluttering the window with menubar, toolbar or statusbar."
_odid=143977
url="http://opendesktop.org/content/show.php/ShowImage?content=${_odid}"
license=('GPL')
arch=('i686' 'x86_64')
depends=('kdelibs')
makedepends=('cmake' 'extra-cmake-modules' 'automoc4' 'libkexiv2')
optdepends=()
source=(https://dl.opendesktop.org/api/files/download/id/1482097460/${pkgname}-${_pkgver}.tar.bz2)
sha256sums=('a9c11b1eb7ba6bf9d85c19a2630bb323a7a1657ce704953faa7837a71c20d9ff')

build() {
  cd ${srcdir}/${pkgname}-${_pkgver}
  cmake . -DCMAKE_INSTALL_PREFIX=/usr
  make || return 1
}

package() {
  cd ${srcdir}/${pkgname}-${_pkgver}
  make DESTDIR=${pkgdir} install || return 1
}