aboutsummaryrefslogtreecommitdiffstats
path: root/gtk3/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'gtk3/PKGBUILD')
-rw-r--r--gtk3/PKGBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/gtk3/PKGBUILD b/gtk3/PKGBUILD
new file mode 100644
index 0000000..c888a66
--- /dev/null
+++ b/gtk3/PKGBUILD
@@ -0,0 +1,49 @@
+#Maintainer: Zee Eichel <zee@dracos-linux.org>
+
+pkgname=gtk3
+pkgver=3.24.5
+pkgrel=1
+pkgdesc="GObject-based multi-platform GUI toolkit"
+arch=('x86_64')
+url="http://www.gtk.org/"
+license=('LGPL')
+depends=('at-spi2-atk' 'at-spi2-core' 'atk' 'fribidi' 'gdk-pixbuf' 'shared-mime-info' 'pango' 'libepoxy' 'libxkbcommon' 'iso-codes')
+optdepends=('gobject-introspection' 'wayland' 'wayland-protocols')
+source=("https://download.gnome.org/sources/gtk+/${pkgver:0:4}/gtk+-${pkgver}.tar.xz"
+ "gtk-query-immodules-3.0.hook"
+ "gtk-update-icon-cache.hook"
+ "gtk-update-icon-cache.script"
+ "settings.ini")
+sha256sums=('0be5fb0d302bc3de26ab58c32990d895831e2b7c7418d0ffea1206d6a3ddb02f'
+ 'de46e5514ff39a7a65e01e485e874775ab1c0ad20b8e94ada43f4a6af1370845'
+ '496064a9dd6214bd58f689dd817dbdc4d7f17d42a8c9940a87018c3f829ce308'
+ 'f1d3a0dbfd82f7339301abecdbe5f024337919b48bd0e09296bb0e79863b2541'
+ '01fc1d81dc82c4a052ac6e25bf9a04e7647267cc3017bc91f9ce3e63e5eb9202'
+)
+
+build() {
+ cd "${srcdir}/gtk+-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-cloudprint \
+ --disable-schemas-compile \
+ --enable-broadway-backend \
+ --enable-wayland-backend \
+ --enable-x11-backend \
+ --disable-man \
+ --disable-doc
+ make
+}
+
+package() {
+ cd "${srcdir}/gtk+-${pkgver}"
+
+ make install DESTDIR="${pkgdir}"
+
+ install -v -Dm644 "${srcdir}/settings.ini" "${pkgdir}/usr/share/gtk-3.0/settings.ini"
+
+ install -v -Dm644 "${srcdir}/gtk-query-immodules-3.0.hook" "${pkgdir}/usr/share/libalpm/hooks/gtk-query-immodules-3.0.hook"
+ install -v -Dm644 "${srcdir}/gtk-update-icon-cache.hook" "${pkgdir}/usr/share/libalpm/hooks/gtk-update-icon-cache.hook"
+ install -v -Dm755 "${srcdir}/gtk-update-icon-cache.script" "${pkgdir}/usr/share/libalpm/scripts/gtk-update-icon-cache"
+}