diff --git a/srcpkgs/jp2a/template b/srcpkgs/jp2a/template index 74797cc2b27..92a74f98a8d 100644 --- a/srcpkgs/jp2a/template +++ b/srcpkgs/jp2a/template @@ -1,14 +1,22 @@ # Template file for 'jp2a' pkgname=jp2a -version=1.3.2 +version=1.3.3 revision=1 build_style=gnu-configure +hostmakedepends="pkg-config" makedepends="libjpeg-turbo-devel libpng-devel libcurl-devel ncurses-devel libwebp-devel libexif-devel" short_desc="JPEG image to ASCII art converter" maintainer="Orphaned " license="GPL-2.0-only" homepage="https://github.com/Talinx/jp2a" +changelog="https://raw.githubusercontent.com/Talinx/jp2a/refs/heads/master/ChangeLog" distfiles="https://github.com/Talinx/jp2a/releases/download/v${version}/jp2a-${version}.tar.gz" -checksum=758757b6713ce0af8cfa5abe7a137c2adb64b2e93566e83bdacad5b5bf40ca58 -export bashcompdir=/usr/share/bash-completion/completions +checksum=733a4dfc847ab9b020b26f7b90dbe3ff1dce7489a91bfc06fe8fd38764e9e246 + +post_install() { + #move bash completions into the correct dir + vmkdir usr/share/bash-completion/completions + mv ${DESTDIR}/etc/bash_completion.d/* \ + ${DESTDIR}/usr/share/bash-completion/completions +}