Annotation of /branches/magellan-next/core/xdg-utils/xdg-utils-1.1.0_rc1-r1.smage2
Parent Directory | Revision Log
Revision 8320 -
(hide annotations)
(download)
Thu Jul 14 19:56:35 2011 UTC (13 years, 2 months ago) by niro
File size: 1036 byte(s)
Thu Jul 14 19:56:35 2011 UTC (13 years, 2 months ago) by niro
File size: 1036 byte(s)
-fixed SRCFILE
1 | niro | 8319 | # $Id$ |
2 | |||
3 | PNAME="xdg-utils" | ||
4 | PVER="1.1.0_rc1" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="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 | niro | 8320 | SRCFILE="${PNAME}-${PVER/_/-}.tar.gz" |
18 | niro | 8319 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/-}" |
19 | |||
20 | sminclude mbuild mtools | ||
21 | |||
22 | SRC_URI=( | ||
23 | http://portland.freedesktop.org/download/${SRCFILE} | ||
24 | mirror://${PNAME}/${SRCFILE} | ||
25 | ) | ||
26 | |||
27 | UP2DATE="updatecmd_xorg ${PNAME}" | ||
28 | |||
29 | src_install() | ||
30 | { | ||
31 | cd ${SRCDIR} | ||
32 | mmake DESTDIR=${BINDIR} install || die | ||
33 | |||
34 | # install default xdg data dirs | ||
35 | minstalldir /etc/env.d || die | ||
36 | cat > ${BINDIR}/etc/env.d/30xdg-local << EOF | ||
37 | XDG_DATA_DIRS="/usr/local/share" | ||
38 | EOF | ||
39 | |||
40 | cat > ${BINDIR}/etc/env.d/90xdg-system << EOF | ||
41 | XDG_DATA_DIRS="/usr/share" | ||
42 | XDG_CONFIG_DIRS="/etc/xdg" | ||
43 | EOF | ||
44 | |||
45 | minstalldocs ChangeLog LICENSE TODO README || die | ||
46 | } |