constantine-backgrounds 12.1.1
[git/cygwin-packages/constantine-backgrounds.git] / constantine-backgrounds.cygport
1 NAME="constantine-backgrounds"
2 VERSION=12.1.1
3 RELEASE=1
4 CATEGORY="X11"
5 SUMMARY="Fedora 12 desktop wallpaper"
6 DESCRIPTION="Default wallpaper for the Fedora 12 release, along with a
7 collection of selected wallpapers contributed by the Fedora community."
8 HOMEPAGE="https://fedoraproject.org/wiki/Design"
9 SRC_URI="https://fedorahosted.org/released/design-team/${NAME}-${VERSION}.tar.lzma"
10
11 ARCH=noarch
12
13 PKG_NAMES="${NAME} ${NAME}-extras"
14 constantine_backgrounds_CONTENTS="
15 usr/share/backgrounds/constantine/default/
16 usr/share/backgrounds/xfce/constantine.*
17 usr/share/gnome-background-properties/desktop-backgrounds-constantine.xml
18 usr/share/mate-background-properties/desktop-backgrounds-constantine.xml
19 usr/share/wallpapers/Constantine/
20 usr/share/doc/${NAME}/
21 "
22 constantine_backgrounds_extras_DOCS="COPYING Credits"
23 constantine_backgrounds_extras_CONTENTS="
24 usr/share/backgrounds/constantine/extras/
25 usr/share/backgrounds/xfce/constantine-*
26 usr/share/gnome-background-properties/desktop-backgrounds-constantine-extras.xml
27 usr/share/mate-background-properties/desktop-backgrounds-constantine-extras.xml
28 usr/share/wallpapers/Constantine_*/
29 "
30
31 src_compile() {
32 cd ${S}
33 cygmake
34 }
35
36 src_install() {
37 cd ${S}
38 cyginstall
39 mv ${D}/usr/share/{xfce4/backdrops,backgrounds/xfce}
40
41 dodir /usr/share/mate-background-properties
42 sed -e 's|gnome-wp|mate-wp|' default/desktop-backgrounds-constantine.xml \
43 > ${D}/usr/share/mate-background-properties/desktop-backgrounds-constantine.xml
44 sed -e 's|gnome-wp|mate-wp|' extras/desktop-backgrounds-constantine-extras.xml \
45 > ${D}/usr/share/mate-background-properties/desktop-backgrounds-constantine-extras.xml
46
47 dodir /usr/share/backgrounds/xfce
48 dosym ../../backgrounds/constantine/default/wide/constantine.png \
49 /usr/share/backgrounds/xfce/constantine.png
50
51 for f in ${D}/usr/share/backgrounds/constantine/extras/wide/*.{jpg,png}
52 do
53 dosym ../../${f##*/share/} /usr/share/backgrounds/xfce/constantine-${f##*/}
54 done
55 }
This page took 0.034765 seconds and 5 git commands to generate.