diff options
author | Luis Aranguren | 2019-08-22 00:03:12 +1000 |
---|---|---|
committer | Luis Aranguren | 2019-08-22 00:03:12 +1000 |
commit | a54f2caaaa3f957b1ea812dd4ecc57e2fcacb014 (patch) | |
tree | 0a82ca22d239d2ea07e5c0bb6eb3a842611f0862 | |
parent | bb42c4019005665640c51bbbc7e14b1405dffa68 (diff) | |
download | aur-a54f2caaaa3f957b1ea812dd4ecc57e2fcacb014.tar.gz |
reworked dependencies, added tests, added LICENSE, updated pkgver
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 16 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = imv-git pkgdesc = imv is a command line image viewer intended for use with tiling window managers, with Wayland and X11 support. - pkgver = v2.1.3.r202.ge278e28 + pkgver = v2.1.3.r300.ge0e019c pkgrel = 1 url = https://github.com/eXeC64/imv arch = x86_64 @@ -8,9 +8,13 @@ pkgbase = imv-git license = MIT makedepends = git makedepends = asciidoc + makedepends = cmocka + depends = libxkbcommon-x11 depends = freeimage - depends = sdl2_ttf - depends = fontconfig + depends = librsvg + depends = desktop-file-utils + optdepends = wayland + optdepends = egl-wayland provides = imv conflicts = renameutils conflicts = imv @@ -2,14 +2,15 @@ # Contributor: Ainola pkgname=imv-git -pkgver=v2.1.3.r202.ge278e28 +pkgver=v2.1.3.r300.ge0e019c 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') +depends=('libxkbcommon-x11' 'freeimage' 'librsvg' 'desktop-file-utils') +makedepends=('git' 'asciidoc' 'cmocka') +optdepends=('wayland' 'egl-wayland') provides=('imv') conflicts=('renameutils' 'imv') source=("git+https://github.com/eXeC64/imv.git") @@ -24,6 +25,11 @@ build() { make -C imv BUILDDIR=build } +check() { + make check -C imv BUILDIR=build +} + package() { make -C imv BUILDDIR=build DESTDIR="$pkgdir" install + install -Dm644 $srcdir/imv/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |