summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 73e860dafa2d352449a270ed3b63e4b55d9966f1 (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
# Maintainer: Ainola

pkgname=imv-git
pkgver=v2.1.3.r125.ga65b30b
pkgrel=1
pkgdesc='Image viewer for Wayland and X11'
url="https://github.com/eXeC64/imv"
arch=('x86_64' 'i686')
license=('GPL')
depends=('freeimage' 'sdl2_ttf' 'fontconfig')
makedepends=('git' 'asciidoc')
optdepends=('cmocka: for running unit tests')
conflicts=('renameutils' 'imv')
source=("git+https://github.com/eXeC64/imv.git")
sha1sums=('SKIP')

pkgver() {
  cd imv
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  make -C imv BUILDDIR=build
}

package() {
  make -C imv BUILDDIR=build DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: