123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- # Build recipe for dragora-ice (config, scheme).
- #
- # Copyright (c) 2019 Matias Fonzo, <selk@dragora.org>.
- #
- # Licensed under the Apache License, Version 2.0 (the "License");
- # you may not use this file except in compliance with the License.
- # You may obtain a copy of the License at
- #
- # http://www.apache.org/licenses/LICENSE-2.0
- #
- # Unless required by applicable law or agreed to in writing, software
- # distributed under the License is distributed on an "AS IS" BASIS,
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- # See the License for the specific language governing permissions and
- # limitations under the License.
- program=dragora-ice
- version=20190920
- arch=noarch
- release=1
- # Set 'outdir' for a nice and well-organized output directory
- outdir="${outdir}/${arch}/x-apps"
- tarname=${program}-${version}.tar.lz
- # Remote source(s)
- fetch="
- https://dragora.mirror.garr.it/current/sources/$tarname
- rsync://rsync.dragora.org/current/sources/$tarname
- "
- description="
- Configuration files for dragora-ice.
- Custom configuration files and scheme to compose dragora-ice.
- "
- homepage=https://www.dragora.org
- license=GPLv3+
- build()
- {
- set -e
- unpack "${tardir}/$tarname"
- cd "$srcdir"
- mkdir -p "$destdir"
- cp -rPp ./* "${destdir}"/
- touch "${destdir}/etc/skel/.graft-config"
- # Set file permissions
- find "$destdir" -type f -name '*.sh' | xargs chmod 755
- chmod 755 "${destdir}/usr/share/icewm/startup"
- }
|