constantine-backgrounds 12.1.1
[git/cygwin-packages/constantine-backgrounds.git] / constantine-backgrounds.cygport
CommitLineData
2614bf74
YS
1NAME="constantine-backgrounds"
2VERSION=12.1.1
3RELEASE=1
4CATEGORY="X11"
5SUMMARY="Fedora 12 desktop wallpaper"
6DESCRIPTION="Default wallpaper for the Fedora 12 release, along with a
7collection of selected wallpapers contributed by the Fedora community."
8HOMEPAGE="https://fedoraproject.org/wiki/Design"
9SRC_URI="https://fedorahosted.org/released/design-team/${NAME}-${VERSION}.tar.lzma"
10
11ARCH=noarch
12
13PKG_NAMES="${NAME} ${NAME}-extras"
14constantine_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"
22constantine_backgrounds_extras_DOCS="COPYING Credits"
23constantine_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
31src_compile() {
32 cd ${S}
33 cygmake
34}
35
36src_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.021609 seconds and 5 git commands to generate.