aboutsummaryrefslogtreecommitdiffstats
path: root/libgksu-colormap-fix/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-17 15:40:56 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-17 15:40:56 +0100
commit5f95f8a2beec8a320be30fca98ac9c76032bd9cb (patch)
treeca0544364ff1ba4274004a8d1d4602e1b694fd5b /libgksu-colormap-fix/PKGBUILD
parentupdate xorg-server-hwcursor-gamma (diff)
downloadaur-packages-5f95f8a2beec8a320be30fca98ac9c76032bd9cb.tar.gz
aur-packages-5f95f8a2beec8a320be30fca98ac9c76032bd9cb.tar.bz2
aur-packages-5f95f8a2beec8a320be30fca98ac9c76032bd9cb.tar.xz
add libgksu-colormap-fix
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'libgksu-colormap-fix/PKGBUILD')
-rw-r--r--libgksu-colormap-fix/PKGBUILD65
1 files changed, 65 insertions, 0 deletions
diff --git a/libgksu-colormap-fix/PKGBUILD b/libgksu-colormap-fix/PKGBUILD
new file mode 100644
index 0000000..7fb4ad6
--- /dev/null
+++ b/libgksu-colormap-fix/PKGBUILD
@@ -0,0 +1,65 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+# Maintainer of the libgksu package: Jan de Groot <jgc@archlinux.org>
+
+_pkgname=libgksu
+pkgname=libgksu-colormap-fix
+pkgver=2.0.12
+pkgrel=6
+pkgdesc="gksu authorization library (with libgksu-rgba-fix.diff patch)"
+arch=(i686 x86_64)
+url="http://www.nongnu.org/gksu/index.html"
+license=(GPL)
+depends=('gconf' 'gtk2' 'libgnome-keyring' 'libgtop' 'startup-notification')
+makedepends=('intltool' 'gtk-doc')
+options=('!emptydirs')
+conflicts=(libgksu)
+provides=("libgksu=$pkgver")
+install=libgksu.install
+source=(http://people.debian.org/~kov/gksu/${_pkgname}-${pkgver}.tar.gz
+ libgksu-2.0.0-fbsd.patch
+ libgksu-2.0.12-automake-1.11.2.patch
+ libgksu-2.0.12-fix-make-3.82.patch
+ libgksu-2.0.12-notests.patch
+ libgksu-2.0.12-revert-forkpty.patch
+ libgksu-2.0.7-libs.patch
+ libgksu-2.0.7-polinguas.patch
+ libgksu-rgba-fix.diff)
+md5sums=('c7154c8806f791c10e7626ff123049d3'
+ '063a2b45d8e7cbba898d1db413242da0'
+ '2eeb34ad9b5bf29e8e2ebf8c8a5a28b6'
+ 'afeaf5caab03d793258d62d60a9bf0f0'
+ '4179d0487d6032e56b8a925010694c0a'
+ 'aebbe57e5286c654e27cf714cf3b704a'
+ '58d3a4a9d2ac741951720043ea3f7b5f'
+ '0b5c3d5d9b32cb3e65d9f0bfbcb11a76'
+ '7599049c7a3a2395d9bff4e31ea46385')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/libgksu-2.0.0-fbsd.patch"
+ patch -Np1 -i "${srcdir}/libgksu-2.0.7-libs.patch"
+ patch -Np1 -i "${srcdir}/libgksu-2.0.7-polinguas.patch"
+ patch -Np1 -i "${srcdir}/libgksu-2.0.12-revert-forkpty.patch"
+ patch -Np0 -i "${srcdir}/libgksu-2.0.12-fix-make-3.82.patch"
+ patch -Np1 -i "${srcdir}/libgksu-2.0.12-notests.patch"
+ patch -Np1 -i "${srcdir}/libgksu-2.0.12-automake-1.11.2.patch"
+
+ patch -Np0 -i "${srcdir}/libgksu-rgba-fix.diff"
+
+ touch NEWS README
+
+ intltoolize --force --copy --automake
+ autoreconf -fi
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static --disable-schemas-install
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+ rm -f ${pkgdir}/usr/lib/*.a
+ install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
+ gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${_pkgname}.schemas" --domain libgksu ${pkgdir}/etc/gconf/schemas/*.schemas
+ rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+}