Magellan Linux

Annotation of /branches/R11-unstable/extras/xdg-utils/xdg-utils-1.1.0_20140205-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20747 - (hide annotations) (download)
Wed Feb 5 10:40:12 2014 UTC (10 years, 3 months ago) by niro
Original Path: trunk/extras/xdg-utils/xdg-utils-1.1.0_20140205-r1.smage2
File size: 991 byte(s)
auto added: ver bump to 1.1.0_20140205-r1
1 niro 20747 # $Id$
2    
3     PNAME="xdg-utils"
4     PVER="1.1.0_20140205"
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.bz2"
18     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19    
20     sminclude mbuild mtools
21     msetfeature "!check"
22    
23     SRC_URI=( mirror://${PNAME}/${SRCFILE} )
24    
25     # fake
26     UP2DATE="echo ${PVER}"
27    
28     src_install()
29     {
30     cd ${SRCDIR}
31     mmake DESTDIR=${BINDIR} install || die
32    
33     # install default xdg data dirs
34     minstalldir /etc/env.d || die
35     cat > ${BINDIR}/etc/env.d/30xdg-local << EOF
36     XDG_DATA_DIRS="/usr/local/share"
37     EOF
38    
39     cat > ${BINDIR}/etc/env.d/90xdg-system << EOF
40     XDG_DATA_DIRS="/usr/share"
41     XDG_CONFIG_DIRS="/etc/xdg"
42     EOF
43    
44     minstalldocs ChangeLog LICENSE TODO README || die
45     }