41 lines
1000 B
Bash
41 lines
1000 B
Bash
# Template file for 'libsixel'
|
|
pkgname=libsixel
|
|
version=1.8.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
makedepends="libpng-devel zlib-devel libjpeg-turbo-devel"
|
|
short_desc="SIXEL encoder/decoder"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/saitoha/libsixel"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=37611d60c7dbcee701346967336dbf135fdd5041024d5f650d52fae14c731ab9
|
|
|
|
libsixel-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/bin/libsixel-config
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
libsixel-util_package() {
|
|
short_desc+=" - utilities"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/bin/img2sixel
|
|
vmove usr/bin/sixel2png
|
|
vmove usr/share/bash-completion
|
|
vmove usr/share/zsh
|
|
vmove usr/share/man/man1
|
|
}
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|