Magellan Linux

Contents of /trunk/core/xdg-utils/xdg-utils-1.0.2_20100930-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7203 - (show annotations) (download)
Thu Sep 30 18:59:42 2010 UTC (13 years, 7 months ago) by niro
File size: 1047 byte(s)
-rev bump, install some defaults
1 # $Id$
2
3 PNAME="xdg-utils"
4 PVER="1.0.2_20100930"
5 PBUILD="r2"
6
7 PCATEGORIE="x11-apps"
8 STATE="unstable"
9
10 DESCRIPTION="Xdg-utils is a set of command line tools that assist applications with a variety of desktop integration tasksA tool for automating interactive applications."
11 HOMEPAGE="http://portland.freedesktop.org/"
12
13 DEPEND=">= x11-apps/xprop-1
14 >= x11-apps/xset-1
15 >= x11-misc/shared-mime-info-0.71
16 >= dev-util/desktop-file-utils-0.15"
17
18 SRCFILE="${PNAME}-${PVER}.tar.bz2"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20
21 sminclude mbuild mtools
22
23 SRC_URI=(
24 http://portland.freedesktop.org/download/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 )
27
28 UP2DATE="updatecmd_xorg ${PNAME}"
29
30 src_install()
31 {
32 cd ${SRCDIR}
33 mmake DESTDIR=${BINDIR} install || die
34
35 # install default xdg data dirs
36 minstalldir /etc/env.d || die
37 cat > ${BINDIR}/etc/env.d/30xdg-local << EOF
38 XDG_DATA_DIRS="/usr/local/share"
39 EOF
40
41 cat > ${BINDIR}/etc/env.d/90xdg-system << EOF
42 XDG_DATA_DIRS="/usr/share"
43 XDG_CONFIG_DIRS="/etc/xdg"
44 EOF
45
46 minstalldocs ChangeLog LICENSE TODO README || die
47 }