🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738394041424344
pkgname: galculator
pkgver: '2.1.4'
pkgrel: '5'
pkgdesc: 'GTK+ based scientific calculator'
url: 'https://galculator.sourceforge.net/'
arch: x86_64
depends:
- 'hicolor-icon-theme'
- 'desktop-file-utils'
- at-spi2-core
- cairo
- gdk-pixbuf
- glib
- gtk3
- harfbuzz
- pango
makedepends:
- gtk3
source:
- 'https://github.com/galculator/galculator/archive/refs/tags/v${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
# quadmath.h w rootfs leży tylko w katalogu include starszego GCC
# (np. .../15.2.0/include), a aktywny kompilator to nowszy – dołóż ścieżkę.
QMH=$(find /usr/lib/gcc -name quadmath.h -print -quit 2>/dev/null)
if [ -n "$QMH" ]; then
CFLAGS+=" -I$(dirname "$QMH")"
fi
CFLAGS+=' -fcommon'
cd ${pkgname}-${pkgver}
autoreconf -fi # snapshot z git nie zawiera configure
./configure \
--prefix=/usr
make
make DESTDIR=${PKGDIR} install
package: |
true