diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-11 03:21:28 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-11 03:21:28 +0000 |
commit | 121ee20158ca9869daadf9a2993b431af9661cb6 (patch) | |
tree | 3b8f82250a4d0f25ef33e3ea3300c24a74c262dd /community/mate-color-manager | |
parent | ffe0bbfd85b1341f3b15f809ea92f330d2f7cea3 (diff) |
Tue Feb 11 03:19:20 UTC 2014
Diffstat (limited to 'community/mate-color-manager')
-rw-r--r-- | community/mate-color-manager/PKGBUILD | 46 | ||||
-rw-r--r-- | community/mate-color-manager/mate-color-manager.install | 13 |
2 files changed, 59 insertions, 0 deletions
diff --git a/community/mate-color-manager/PKGBUILD b/community/mate-color-manager/PKGBUILD new file mode 100644 index 000000000..048949ce1 --- /dev/null +++ b/community/mate-color-manager/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 105579 2014-02-10 13:50:05Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> + +pkgname=mate-color-manager +pkgver=1.6.1 +pkgrel=3 +pkgdesc="Color management application for MATE." +url="https://github.com/NiceandGently/${pkgname}" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dbus' 'desktop-file-utils' 'exiv2' 'gtk2' 'lcms2' 'libcanberra' 'libcups' 'libexif' 'libnotify' 'libtiff' + 'libunique' 'mate-desktop' 'sane' 'vte') +makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser') +options=('!emptydirs') +source=("https://github.com/NiceandGently/${pkgname}/archive/v${pkgver}.tar.gz" + "https://github.com/NiceandGently/mate-color-manager/commit/cb80f549af83a703243eae4afad841d564743afb.diff") +sha1sums=('6a8d18a3a7e3fb22e03cd319556575b9482c6f04' + '283c767591956206f5c7229ee1eff86faea253c0') +install=${pkgname}.install + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + # Get udevrulesdir from pkg-config + patch -Np1 -i "${srcdir}/cb80f549af83a703243eae4afad841d564743afb.diff" + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --sbindir=/usr/bin \ + --libexecdir=/usr/lib/${pkgname} \ + --disable-static \ + --disable-scrollkeeper + + #Work around a problem where the .sgml fail to parse. + sed -e 's:@HAVE_DOCBOOK2MAN_TRUE@.*::' -i man/Makefile.in + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-color-manager/mate-color-manager.install b/community/mate-color-manager/mate-color-manager.install new file mode 100644 index 000000000..4e09ba484 --- /dev/null +++ b/community/mate-color-manager/mate-color-manager.install @@ -0,0 +1,13 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/mate + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |