Magellan Linux

Contents of /branches/R11-stable/extras/xdg-utils/xdg-utils-1.1.0_rc1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15413 - (show annotations) (download)
Wed Jan 2 11:41:18 2013 UTC (11 years, 4 months ago) by niro
File size: 1051 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="xdg-utils"
4 PVER="1.1.0_rc1"
5 PBUILD="r1"
6
7 PCAT="x11-apps"
8
9 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."
10 HOMEPAGE="http://portland.freedesktop.org/"
11
12 DEPEND=">= x11-apps/xprop-1.2
13 >= x11-apps/xset-1.2
14 >= x11-misc/shared-mime-info-0.90
15 >= dev-util/desktop-file-utils-0.15"
16
17 SRCFILE="${PNAME}-${PVER/_/-}.tar.gz"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/-}"
19
20 sminclude mbuild mtools
21 msetfeature "!check"
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 }