wok view avatar-factory/receipt @ rev 20641

Add SSL support to retawq (needed by man to browse linux.die.net)
author Lucas Levrel <llevrel@yahoo.fr>
date Fri Jan 11 09:19:11 2019 +0100 (14 months ago)
parents fa5913a0fdf3
children
line source
1 # SliTaz package receipt.
3 PACKAGE="avatar-factory"
4 VERSION="0.8"
5 CATEGORY="utilities"
6 SHORT_DESC="A bash script that creates eye candy shortcuts for music albums, photo albums, movie files, and more..."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="PublicDomain"
9 WEB_SITE="http://yuzem.blogspot.com/p/avatar-factory.html?m=1"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL"
13 DEPENDS="bash findutils imagemagick sed zenity"
14 BUILD_DEPENDS="wget"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/bin $fs/usr/share/applications
20 sed -i 's|/usr/local|/usr|g' $src/avatar-factory
21 cp -a $src/avatar-factory $fs/usr/bin
22 cp -a $src/Avatar-Factory $fs/usr/share/avatar-factory
23 sed -i 's|/usr/local|/usr|' $src/avatar-factory.desktop
24 cp -a $src/avatar-factory.desktop $fs/usr/share/applications
26 # fix permissions
27 find $fs -type d -exec chmod 755 {} \;
28 find $fs -type f -exec chmod 644 {} \;
29 for file in $(find $fs -type f); do
30 [ $(head -n1 $file | grep '#!/bin/bash') ] && chmod 755 $file
31 done
32 chown -R root.root $fs # was pankso.100 ... why ?
33 }