aboutsummaryrefslogtreecommitdiffstats
path: root/testing/timg/APKBUILD
blob: f89fa30ed4f3e1bcd256b2b0b4742e09a8873527 (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
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=timg
pkgver=0.9.5
pkgrel=0
pkgdesc="24-Bit color image viewer for terminal"
url="https://github.com/hzeller/timg"
arch="all"
options="!check" # package doesn't have test
license="GPL-2.0-only"
makedepends="libwebp-dev graphicsmagick-dev freetype-dev xz-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/hzeller/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"/src

build() {
	cd "$builddir"
	make
}

check() {
	cd "$builddir"
}

package() {
	cd "$builddir"
	install -Dm755 timg "$pkgdir"/usr/bin/timg
}

sha512sums="993bdaf80f05fa7e7961d6f4fc5847313a679934750e0b38c78d3f3ad9ebe54d9b67b580a085734626ae43da58b33f2b2a0dcba203e00235095be667a4c01657  timg-0.9.5.tar.gz"