summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Sabota2021-01-17 20:49:57 -0500
committerLukas Sabota2021-01-17 20:49:57 -0500
commitb96eda423fe76fd69b5f0677076d230eeaf93527 (patch)
tree33d05fb59815e8317f4b8c37103856901e5a5020
parentcee3cb5b11a6a4622951687d4f334a776586618d (diff)
downloadaur-b96eda423fe76fd69b5f0677076d230eeaf93527.tar.gz
apply bennofs's changes to fix build
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2aed9fac5f3f..94b4ab0c8893 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = lib32-glib
pkgdesc = Common C routines used by Gtk+ and other libs (32-bit)
pkgver = 1.2.10
- pkgrel = 3
+ pkgrel = 4
url = http://www.gtk.org/
install = glib.install
arch = x86_64
@@ -10,7 +10,7 @@ pkgbase = lib32-glib
depends = lib32-glibc
depends = sh
options = !makeflags
- source = ftp://ftp.gnome.org/pub/gnome/sources/glib/1.2/glib-1.2.10.tar.gz
+ source = https://download.gnome.org/sources/glib/1.2/glib-1.2.10.tar.gz
source = glib-1.2.10-gcc9.patch
source = gcc340.patch
source = aclocal-fixes.patch
diff --git a/PKGBUILD b/PKGBUILD
index eee45281f1f2..0bdceb58f60c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=glib
pkgname=lib32-glib
pkgver=1.2.10
-pkgrel=3
+pkgrel=4
pkgdesc="Common C routines used by Gtk+ and other libs (32-bit)"
arch=('x86_64')
url="http://www.gtk.org/"
@@ -13,7 +13,7 @@ depends=('lib32-glibc' 'sh')
makedepends=('gcc-multilib')
options=('!makeflags')
install=glib.install
-source=(ftp://ftp.gnome.org/pub/gnome/sources/glib/1.2/${_pkgname}-${pkgver}.tar.gz
+source=(https://download.gnome.org/sources/glib/1.2/${_pkgname}-${pkgver}.tar.gz
glib-1.2.10-gcc9.patch
gcc340.patch aclocal-fixes.patch glib1-autotools.patch)
sha1sums=('e5a9361c594608d152d5d9650154c2e3260b87fa'
@@ -40,7 +40,9 @@ build() {
CONFIGFLAG='--host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu'
fi
- autoreconf --force --install
+ rm aclocal.m4 acinclude.m4
+ echo 'LT_INIT' >> configure.in
+ autoreconf --install --force
./configure --prefix=/usr --libdir=/usr/lib32 --mandir=/usr/share/man \
--infodir=/usr/share/info $CONFIGFLAG
make