summaryrefslogtreecommitdiff
path: root/pcr/gtk/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2015-05-28 11:29:47 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2015-05-28 11:29:47 -0300
commitfcb2d26cfa3b265200b5ae9e949d787a56bd4f14 (patch)
tree60bf5147d7608e6217b37e6807c386b3a43a2b36 /pcr/gtk/PKGBUILD
parent19fe7e7da672746eea0c2cae0307cea5e54fb23e (diff)
parentb0bb663657922f0154dd8d60a6d5455f9a2bfe3c (diff)
downloadabslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.gz
abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.bz2
abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.zip
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'pcr/gtk/PKGBUILD')
-rw-r--r--pcr/gtk/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/pcr/gtk/PKGBUILD b/pcr/gtk/PKGBUILD
new file mode 100644
index 000000000..22d94cdb1
--- /dev/null
+++ b/pcr/gtk/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Connor Behan <connor.behan@gmail.com>
+# Contributor: Eric Bélanger <eric@archlinux.org>
+
+pkgname=gtk
+pkgver=1.2.10
+pkgrel=15
+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
+ aclocal-fixes.patch)
+sha1sums=('a5adcb909257da01ae4d4761e1d41081d06e4d7c'
+ 'b034e33efb85d27f3f3fb082c404e3b6ea79259f')
+
+prepare() {
+ cd gtk+-${pkgver}
+ cp /usr/share/libtool/build-aux/config.guess .
+ cp /usr/share/libtool/build-aux/config.sub .
+ patch -p0 -i "${srcdir}/aclocal-fixes.patch"
+ sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" configure
+}
+
+build() {
+ cd gtk+-${pkgver}
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --mandir=/usr/share/man --infodir=/usr/share/info \
+ --with-xinput=xfree
+ make
+}
+
+package() {
+ cd gtk+-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}