summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ebf6557fc72d8bdf69da3d8a37ad8f3b5eca2275 (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
# Maintainer: Luis Aranguren <pizzaman@hotmail.com>
# Contributor: Ainola

pkgname=imv-git
pkgver=v2.1.3.r202.ge278e28
pkgrel=1
pkgdesc='imv is a command line image viewer intended for use with tiling window managers, with Wayland and X11 support.'
url="https://github.com/eXeC64/imv"
arch=('x86_64' 'i686')
license=('MIT')
depends=('freeimage' 'sdl2_ttf' 'fontconfig')
makedepends=('git' 'asciidoc')
provides=('imv')
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
}