Package Details: unmakeself 1.1-0

Git Clone URL: https://aur.archlinux.org/unmakeself.git (read-only, click to copy)
Package Base: unmakeself
Description: Makeself archive extractor
Upstream URL: https://www.freshports.org/archivers/unmakeself
Licenses: BSD
Submitter: codyps
Maintainer: codyps
Last Packager: codyps
Votes: 1
Popularity: 0.000000
First Submitted: 2018-08-25 02:47 (UTC)
Last Updated: 2023-06-22 23:20 (UTC)

Dependencies (1)

Required by (1)

Sources (1)

Latest Comments

dreieck commented on 2023-09-14 16:21 (UTC) (edited on 2023-09-14 16:22 (UTC) by dreieck)

Please honour $CFLAGS:

Change

cc -D_GNU_SOURCE=1 $(pkg-config --cflags --libs libarchive) -Wall -Wextra -o unmakeself unmakeself.c

to

cc ${CFLAGS} -D_GNU_SOURCE=1 $(pkg-config --cflags --libs libarchive) -o unmakeself unmakeself.c

(-Wall -Wextra is something the user can decide if it is wanted, by setting it in $CFLAGS in some makepkg.conf.)

Regards!

dreieck commented on 2023-09-14 16:14 (UTC) (edited on 2023-09-14 16:20 (UTC) by dreieck)

Ahoj,

build fails for me with
cp: cannot stat '../config.h': No such file or directory

It turns out that you forgot to inclide the config.h in the source-array, and since I use $BUILDDIR and $SRCDEST in /etc/makepkg.conf, the source download directory, the build directory and the PKGBUILD-and-co clone directories reside in different places.

You must include every file that is needed for package building in the source directory, and you must not access files outside "${srcdir}" in build() and outside ${srcdir} or ${pkgdir} in package(),
so the
../
which you use in build() is not allowed and should be replaced with
"${srcdir}" (after adding config.h to the source array).

Anyway, you should remove the complete cp [...]config.h .-line, since after you list config.h in the source-array it will be automatically in the same place as unmakeself.c.

Please fix.

Regards!, and thanks for maintaining.

mJolimaitre commented on 2022-08-17 16:00 (UTC)

broken upstream