blob: fed97fd35cdc2ebdb9e0434ba9a537aa93c40aa7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
pkgname=mate-utils
pkgver=1.1.0
pkgrel=1
pkgdesc="Common MATE utilities for viewing disk usage, logs and fonts, taking screenshots, managing dictionaries and searching files"
arch=('i686' 'x86_64')
license=('GPL')
makedepends=('libgtop' 'libcanberra' 'libsm' 'mateconf' 'hicolor-icon-theme' 'desktop-file-utils')
makedepends=('mate-doc-utils' 'pkgconfig' 'intltool')
options=('!libtool' '!emptydirs')
install=mate-utils.install
url="http://matsusoft.com.ar/projects"
groups=('mate-extras')
source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
sha256sums=('999caaa8a0dd07a23481d724a6295edf581471a422cfeeda39755a453dd35611')
build() {
cd "${srcdir}/${pkgname}"
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static \
--libexecdir=/usr/lib/mate-utils \
--localstatedir=/var \
--disable-scrollkeeper \
--disable-schemas-install || return 1
make || return 1
}
package() {
cd "$srcdir/$pkgname"
make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/mateconf/schemas"
mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas || return 1
rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas
}
|