summaryrefslogtreecommitdiff
path: root/ueberzugpp/template
blob: c9daae82bd0dde5fd5877cd59891cd27b37de8b9 (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
32
33
34
35
36
37
38
39
40
41
42
# Template file for 'ueberzugpp'
pkgname=ueberzugpp
version=2.9.5
revision=1
#archs="i686 x86_64 x86_64-musl"
#build_wrksrc=
conflicts="ueberzug"
build_style=cmake
configure_args="-DCMAKE_BUILD_TYPE=Release"
#make_build_args=""
#make_install_args=""
#conf_files=""
#make_dirs="/var/log/dir 0755 root root"
hostmakedepends="cmake pkg-config extra-cmake-modules"
makedepends="libvips-devel libsixel-devel openssl-devel tbb-devel chafa-devel xcb-util-image-devel libopencv-devel"
depends="libvips libsixel chafa>=1.6 openssl tbb openblas libopencv"
short_desc="Drop in replacement for ueberzug written in C++."
maintainer="gesang <gesang@itinerariummentis.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/jstkdng/ueberzugpp"
#changelog=""
distfiles="https://github.com/jstkdng/ueberzugpp/archive/refs/tags/v${version}.tar.gz"
checksum=79c077ef8e158db3b5eb9d40512c9f9749383a29df9e3f7b11837481d1d90c74

post_install () {
cd ${wrksrc}
	vlicense LICENSE
	vbin build/ueberzug
	vbin build/ueberzugpp
	vman build/ueberzugpp.1

	vinstall scripts/fzfub 755 usr/share/ueberzug
	vinstall scripts/img 755 usr/share/ueberzug
	vinstall scripts/sockets.py 644 usr/share/ueberzug
	vinstall scripts/lf/lfub 755 usr/share/ueberzug/lf
	vinstall scripts/lf/cleaner 755 usr/share/ueberzug/lf
	vinstall scripts/lf/preview 755 usr/share/ueberzug/lf
	vinstall scripts/fifo/fzf-fifo 755 usr/share/fzf-fifo
	vinstall scripts/fifo/img-fifo 755 usr/share/img-fifo
}