Package Details: fql 1.1-1

Git Clone URL: https://aur.archlinux.org/fql.git (read-only, click to copy)
Package Base: fql
Description: A SQL interpreter for text processing
Upstream URL: https://github.com/jasonKercher/fql
Keywords: csv library processing sql text
Licenses: MIT
Provides: libfql.so
Submitter: jkercher
Maintainer: jkercher
Last Packager: jkercher
Votes: 0
Popularity: 0.000000
First Submitted: 2021-09-10 19:31 (UTC)
Last Updated: 2021-10-20 19:39 (UTC)

Required by (0)

Sources (1)

Latest Comments

jkercher commented on 2021-09-13 15:05 (UTC)

@alerque Fixed now. Thank you!

jkercher commented on 2021-09-11 21:50 (UTC)

@alerque I will fix it next time I'm on my computer. I've actually posted this in the mailing list and already been properly scolded for my silliness. Thank you for taking the time to look at it though. I will try your trick in the sources array as well.

alerque commented on 2021-09-11 14:12 (UTC)

Please remove the sudo call from here, you never want to sudo anything in a PKGBUILD. This doesn't actually package anything, it installs it to the system, but it is not in the package. You won't be able to uninstall this package! After you fix this package you'll need to manually cleanup your system and/or force install the fixed package with --overwrite=*.

The correct way to do this is to install to the packaging directory, usually with something like make DESTDIR="$pkgdir" install.

Also there are a few other issues with this. You might read through the packaging guidelines on the wiki. Notably all the empty strings and arrays and no-op functtions should be removed.

The URL should also be set dynamically where possible, try this:

source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")