Package Details: potato-c 0.6.3-1

Git Clone URL: https://aur.archlinux.org/potato-c.git (read-only, click to copy)
Package Base: potato-c
Description: A featureful, modular and fast pomodoro timer with server-client structure, written in C.
Upstream URL: https://github.com/nimaaskarian/potato-c
Keywords: c lightweight minimal pomodoro timer todo todolist
Licenses: GPL3
Provides: potctl, potd, potui
Submitter: nimaaskarian
Maintainer: nimaaskarian
Last Packager: nimaaskarian
Votes: 1
Popularity: 0.000540
First Submitted: 2023-12-01 19:19 (UTC)
Last Updated: 2024-04-09 13:36 (UTC)

Dependencies (3)

Required by (2)

Sources (1)

Latest Comments

tapajos commented on 2024-09-16 23:48 (UTC) (edited on 2024-09-16 23:48 (UTC) by tapajos)

CONFIG_DIR should be set by PKGBUILD

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,5 +28,5 @@ build () {

 package () {
   cd "${pkgname}-${pkgver/v/}" || exit
-  make install DESTDIR="$pkgdir" PREFIX="/usr"
+  make install CONFIG_DIR="$pkgdir/usr/share/potato-c" DESTDIR="$pkgdir" PREFIX="/usr"
 }

Eirikr commented on 2024-05-30 17:41 (UTC)

Fails to build using near-stock makepkg.conf with only changes being -native and -O3. Recieving a permission denied issue in build process. It seems maybe it is trying to build and install to the directory directly instead of the build environment first? Just a guess.

==> Starting package()...
potato build options:
CFLAGS   = -std=gnu99 -O3 -finline-functions -flto -funroll-loops -Wall -Wno-deprecated-declarations -DCONFIG_DIR="/usr/share/potato-c"
LDFLAGS  = -lm
CC       = gcc
potato install options:
DESTDIR  = /home/eirikr/.cache/yay/potato-c/pkg/potato-c
PREFIX   = /usr
MANPREFIX   = /usr/share/man
CONFIG   = /usr/share/potato-c
mkdir -p /usr/share/potato-c
mkdir: cannot create directory ‘/usr/share/potato-c’: Permission denied
make: *** [Makefile:57: install] Error 1
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: potato-c-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
potato-c - exit status 4