diff options
author | Antonio Rojas | 2022-04-01 19:26:54 +0200 |
---|---|---|
committer | Antonio Rojas | 2022-04-01 19:26:54 +0200 |
commit | 4c237b12563d392f6f9175c9e7b78e2310d477db (patch) | |
tree | d079ad0a40686ffd08d5892adc8073dce40a6616 | |
download | aur-4c237b12563d392f6f9175c9e7b78e2310d477db.tar.gz |
import from community
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7cfdd6d07a66 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = genius + pkgdesc = Advanced calculator including a mathematical programming language + pkgver = 1.0.27 + pkgrel = 2 + url = https://www.jirka.org/genius.html + arch = x86_64 + license = GPL + makedepends = intltool + makedepends = gtk-update-icon-cache + makedepends = python + depends = mpfr + depends = glib2 + depends = hicolor-icon-theme + depends = gtk3 + depends = vte3 + depends = gtksourceview4 + source = https://download.gnome.org/sources/genius/1.0/genius-1.0.27.tar.xz + sha256sums = 0243b7c36b5f9e930c62778acd52deb188deeca704a5e195337018435d9e7bb5 + +pkgname = genius diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b17a7cb00063 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: Arjan Timmerman <arjan@soulfly.nl> + +pkgname=genius +pkgver=1.0.27 +pkgrel=2 +pkgdesc="Advanced calculator including a mathematical programming language" +url="https://www.jirka.org/genius.html" +arch=('x86_64') +license=('GPL') +depends=('mpfr' 'glib2' 'hicolor-icon-theme' 'gtk3' 'vte3' 'gtksourceview4') +makedepends=('intltool' 'gtk-update-icon-cache' 'python') +source=(https://download.gnome.org/sources/genius/1.0/${pkgname}-${pkgver}.tar.xz) +sha256sums=('0243b7c36b5f9e930c62778acd52deb188deeca704a5e195337018435d9e7bb5') + +prepare() { + cd $pkgname-$pkgver + autoreconf -fi +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/genius \ + --localstatedir=/var --disable-static \ + --disable-update-mimedb + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="${pkgdir}" install +} |