summaryrefslogtreecommitdiff
path: root/ueberzugpp/template
blob: c6db491a851e3e27405e214bed76dde97ae8c44f (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.6
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=29cca04404c5883510aebf02846f608cfbf5892176bf4a48099e5167d5ef9d95

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
}