Doug,

thanks for the reply.

> The only real issue I see is using $pkgdir in the build function. It's
> not well defined at that point, and should not be relied on. Using
> that as a prefix doesn't really make sense anyway, prefix is for the
> install location, such as /usr/ or /opt/$pkgname/.

ah, thanks.  i notice (now) the prototype in "Arch package guidelines"
----
https://wiki.archlinux.org/title/Arch_package_guidelines
----
has a build function that does `./configure --prefix=/usr`.  is that
safer than a plain `./configure`?  or, does `make DESTDIR="${pkgdir}"/
install "strong enough" to (typically) deal with the default used by
`./configure`?

> Lines 44 and 49-53 can all be replaced by just
>   install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"

thanks.  i had seen others using `install` in this way, and had thought
of looking at the man page to understand.

> All of the other files, (LICENSE, Makefile, README.*) are extraneous
> and aren't really going to do anything in the AUR.

right.  but, is it okay to leave them there?  it seems like having them
there simplifies my life a bit (everything in a single git repository).

cheers, Greg

Reply via email to