diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template index 4701d4ae9d4..276c604e409 100644 --- a/srcpkgs/ccextractor/template +++ b/srcpkgs/ccextractor/template @@ -1,6 +1,6 @@ # Template file for 'ccextractor' pkgname=ccextractor -version=0.84 +version=0.85 revision=1 wrksrc=${pkgname} hostmakedepends="unzip" @@ -9,19 +9,23 @@ short_desc="Extract subtitles from video" maintainer="Styrsven " license="GPL-2" homepage="http://www.ccextractor.org/doku.php" -distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}.src.${version}.zip" -checksum=8825849021fd8bfaa99ea63fc3c7e3f442b54450a1e50e93bf8b51627ebe60a7 +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-src-full.${version}.zip" +checksum=557f6dcae751598fb2f9c5e98b5407ddd3f6eaca61b5769df881b8155149bae8 + +case "$XBPS_TARGET_MACHINE" in + aarch64*) broken="libpng missing png_init_filter_functions_neon" ;; +esac + +do_build() { + cd ${wrksrc}/linux + make ${makejobs} CC=$CC LDFLAGS="$LDFLAGS" +} post_extract() { sed -i -e 's/\(^LDFLAGS \)=\(.*$\)/\1+=\2/' \ -e 's/\(^CFLAGS \)=\(.*$\)/\1+=\2/' linux/Makefile } -do_build() { - pushd linux - make CC=${CC} - popd -} do_install() { vbin linux/ccextractor for i in docs/*; do diff --git a/srcpkgs/ccextractor/update b/srcpkgs/ccextractor/update index 8e794e19380..d869bb165b3 100644 --- a/srcpkgs/ccextractor/update +++ b/srcpkgs/ccextractor/update @@ -1 +1 @@ -pattern='\.src\.\K[\d.]+(?=.zip)' +pattern='(?(?=\-)\-src\-full|\.src)\.\K[\d.]+(?=.zip)'