wok view avatar-factory/receipt @ rev 20194
Up autofs (5.1.4), btrfs-progs (4.15), cifs-utils (6.7), davfs2 (1.5.4), dosfstools (4.1), e2fsprogs (1.43.9), f2fs-tools (1.10.0), moosefs (3.0.100), milfs-utils (2.2.7), owfs (3.2p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 12 13:54:33 2018 +0100 (2018-02-12) |
parents | fa5913a0fdf3 |
children | 9af0e03b8ad0 |
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 }