Stuart Henderson <[email protected]> writes: > On 2021/05/26 06:35, Dimitri Karamazov wrote: >> Some changes >> >> * Missing upstream library version (unarr). >> * Wantlib was somewhat different in my case - No Qt5OpenGL,Qt5Script >> but Qt5Svg is required (must recheck). >> * Changed the file distribution to be more like release. >> * PLIST was missing some files. >> >> Otherwise works fine for me on amd64. > > ok sthen to import, or alternatively with this which is a tiny bit neater imo
It never crossed my mind tha EXTRACT_SUFX could have something more than
the actual file extension.
Attaching an updated tarball with this improvement, thanks!
> --- Makefile.orig Wed May 26 09:43:43 2021
> +++ Makefile Wed May 26 09:44:34 2021
> @@ -3,7 +3,7 @@
> COMMENT = read and manage your digital comic collection
>
> V = 9.8.0
> -DISTNAME = yacreader-${V}.2105165-src
> +DISTNAME = yacreader-${V}.2105165
> PKGNAME = yacreader-${V}
>
> CATEGORIES = graphics
> @@ -21,7 +21,7 @@ WANTLIB += Qt5Sql Qt5Svg Qt5Widgets c m poppler-qt5 un
>
> MASTER_SITES = https://github.com/YACReader/yacreader/releases/download/${V}/
>
> -EXTRACT_SUFX = .tar.xz
> +EXTRACT_SUFX = -src.tar.xz
>
> # C++11
> COMPILER = base-clang ports-gcc
> @@ -35,8 +35,6 @@ LIB_DEPENDS = archivers/unarr \
> x11/qt5/qtsvg
> RUN_DEPENDS = devel/desktop-file-utils \
> x11/gtk+3,-guic
> -
> -WRKDIST = ${WRKDIR}/${DISTNAME:S/-src//}
>
> do-install:
> .for bin in YACReader YACReaderLibrary YACReaderLibraryServer
unarr.tar.gz
Description: Binary data
yacreader.tar.gz
Description: Binary data
