[arch-commits] Commit in libxcursor/trunk (PKGBUILD index.theme)
Jan de Groot
jgc at nymeria.archlinux.org
Tue Jun 3 12:18:57 UTC 2014
Date: Tuesday, June 3, 2014 @ 14:18:57
Author: jgc
Revision: 214082
upgpkg: libxcursor 1.1.14-2
Add fallback to adwaita as default. Make this optional and add file to backup array. Fixes FS#38032 for people with incomplete themes
Added:
libxcursor/trunk/index.theme
Modified:
libxcursor/trunk/PKGBUILD
-------------+
PKGBUILD | 13 ++++++++++---
index.theme | 2 ++
2 files changed, 12 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-06-03 11:16:10 UTC (rev 214081)
+++ PKGBUILD 2014-06-03 12:18:57 UTC (rev 214082)
@@ -5,15 +5,19 @@
pkgname=libxcursor
pkgver=1.1.14
-pkgrel=1
+pkgrel=2
pkgdesc="X cursor management library"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxfixes' 'libxrender')
+optdepends=('gnome-themes-standard: fallback icon theme')
makedepends=('xorg-util-macros')
-source=(${url}/releases/individual/lib/libXcursor-${pkgver}.tar.bz2)
-sha256sums=('9bc6acb21ca14da51bda5bc912c8955bc6e5e433f0ab00c5e8bef842596c33df')
+backup=(usr/share/icons/default/index.theme)
+source=(${url}/releases/individual/lib/libXcursor-${pkgver}.tar.bz2
+ index.theme)
+sha256sums=('9bc6acb21ca14da51bda5bc912c8955bc6e5e433f0ab00c5e8bef842596c33df'
+ '9e2707bc3466b848a70687ae34b505930b9c260a49b3d2f014145e70c4cddcd6')
build() {
cd "${srcdir}/libXcursor-${pkgver}"
@@ -25,6 +29,9 @@
cd "${srcdir}/libXcursor-${pkgver}"
make DESTDIR="${pkgdir}" install
+ install -m755 -d "${pkgdir}/usr/share/icons/default"
+ install -m644 "$srcdir"/index.theme "${pkgdir}/usr/share/icons/default/"
+
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
Added: index.theme
===================================================================
--- index.theme (rev 0)
+++ index.theme 2014-06-03 12:18:57 UTC (rev 214082)
@@ -0,0 +1,2 @@
+[Icon Theme]
+Inherits=Adwaita
More information about the arch-commits
mailing list