summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD7
-rw-r--r--gtk.install20
3 files changed, 5 insertions, 27 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e44d22667cc0..8d98edc95816 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
pkgbase = gtk
pkgdesc = A multi-platform toolkit (v1)
pkgver = 1.2.10
- pkgrel = 15
+ pkgrel = 18
url = http://www.gtk.org/
- install = gtk.install
arch = i686
arch = x86_64
license = LGPL
makedepends = libxt
depends = libxi
depends = glib
- source = ftp://ftp.gnome.org/pub/gnome/sources/gtk+/1.2/gtk+-1.2.10.tar.gz
+ source = https://download.gnome.org/sources/gtk+/1.2/gtk+-1.2.10.tar.gz
source = aclocal-fixes.patch
sha1sums = a5adcb909257da01ae4d4761e1d41081d06e4d7c
sha1sums = b034e33efb85d27f3f3fb082c404e3b6ea79259f
diff --git a/PKGBUILD b/PKGBUILD
index 22d94cdb1497..b4be581cbbf9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,15 +3,14 @@
pkgname=gtk
pkgver=1.2.10
-pkgrel=15
+pkgrel=18
pkgdesc="A multi-platform toolkit (v1)"
arch=('i686' 'x86_64')
url="http://www.gtk.org/"
license=('LGPL')
depends=('libxi' 'glib')
makedepends=('libxt')
-install=gtk.install
-source=(ftp://ftp.gnome.org/pub/gnome/sources/gtk+/1.2/gtk+-${pkgver}.tar.gz
+source=(https://download.gnome.org/sources/gtk+/1.2/gtk+-${pkgver}.tar.gz
aclocal-fixes.patch)
sha1sums=('a5adcb909257da01ae4d4761e1d41081d06e4d7c'
'b034e33efb85d27f3f3fb082c404e3b6ea79259f')
@@ -26,7 +25,7 @@ prepare() {
build() {
cd gtk+-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc \
+ CFLAGS="-Wno-format-security" ./configure --prefix=/usr --sysconfdir=/etc \
--mandir=/usr/share/man --infodir=/usr/share/info \
--with-xinput=xfree
make
diff --git a/gtk.install b/gtk.install
deleted file mode 100644
index 8758bebc337c..000000000000
--- a/gtk.install
+++ /dev/null
@@ -1,20 +0,0 @@
-infodir=usr/share/info
-filelist=(gdk.info.gz gtk.info.gz)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
- done
-}