[arch-commits] Commit in galculator/repos/community-x86_64 (PKGBUILD PKGBUILD)
Balló György
bgyorgy at gemini.archlinux.org
Sat Nov 13 19:27:20 UTC 2021
Date: Saturday, November 13, 2021 @ 19:27:20
Author: bgyorgy
Revision: 1045937
archrelease: copy trunk to community-x86_64
Added:
galculator/repos/community-x86_64/PKGBUILD
(from rev 1045935, galculator/trunk/PKGBUILD)
Deleted:
galculator/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 84 +++++++++++++++++++++----------------------------------------
1 file changed, 30 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-13 19:27:17 UTC (rev 1045936)
+++ PKGBUILD 2021-11-13 19:27:20 UTC (rev 1045937)
@@ -1,54 +0,0 @@
-# Contributor: Martin Wimpress <code at flexion.org>
-# Contributor: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Bartłomiej Piotrowski <barthalion at gmail.com>
-# Contributor: SpepS <dreamspepser at yahoo dot it>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-
-pkgbase=galculator
-pkgname=(galculator galculator-gtk2)
-pkgver=2.1.4
-pkgrel=5
-pkgdesc='GTK+ based scientific calculator'
-arch=('x86_64')
-url='http://galculator.sourceforge.net/'
-license=('GPL')
-depends=('gtk2' 'gtk3')
-makedepends=('intltool')
-source=("http://galculator.mnim.org/downloads/${pkgbase}-${pkgver}.tar.bz2")
-sha256sums=('01cfafe6606e7ec45facb708ef85efd6c1e8bb41001a999d28212a825ef778ae')
-
-build() {
- CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
- # GTK3 version
- cd "${srcdir}/${pkgbase}-${pkgver}"
- [ -d gtk3 ] || mkdir gtk3
- cd gtk3
- ../configure \
- --prefix=/usr
- make
-
- # GTK2 version
- cd "${srcdir}/${pkgbase}-${pkgver}"
- [ -d gtk2 ] || mkdir gtk2
- cd gtk2
- ../configure \
- --prefix=/usr \
- --disable-gtk3
- make
-}
-
-package_galculator() {
- depends=('gtk3')
-
- cd "${pkgbase}-${pkgver}/gtk3"
- make DESTDIR="$pkgdir" install
-}
-
-package_galculator-gtk2() {
- pkgdesc+=' (GTK2 version)'
- depends=('gtk2')
- conflicts=('galculator')
-
- cd "${pkgbase}-${pkgver}/gtk2"
- make DESTDIR="$pkgdir" install
-}
Copied: galculator/repos/community-x86_64/PKGBUILD (from rev 1045935, galculator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-13 19:27:20 UTC (rev 1045937)
@@ -0,0 +1,30 @@
+# Contributor: Martin Wimpress <code at flexion.org>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Bartłomiej Piotrowski <barthalion at gmail.com>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=galculator
+pkgver=2.1.4
+pkgrel=6
+pkgdesc='GTK+ based scientific calculator'
+arch=('x86_64')
+url='http://galculator.sourceforge.net/'
+license=('GPL')
+depends=('gtk3')
+makedepends=('intltool')
+source=("http://galculator.mnim.org/downloads/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('01cfafe6606e7ec45facb708ef85efd6c1e8bb41001a999d28212a825ef778ae')
+
+build() {
+ CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list