wok-next annotate avatar-factory/receipt @ rev 20872

perl-texi2html -> texi2html (because it don't contain Perl modules, and not exists on the (meta)cpan, and old, and...); gcompris: up (11.12 -> 17.05)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jul 04 02:05:23 2018 +0300 (2018-07-04)
parents 685f9eb83991
children 0cbe4b1f2230
rev   line source
al@20766 1 # SliTaz package receipt v2.
al@14068 2
al@14068 3 PACKAGE="avatar-factory"
al@14068 4 VERSION="0.8"
al@14068 5 CATEGORY="utilities"
al@20766 6 SHORT_DESC="A bash script that creates eye candy shortcuts for music albums, \
al@20766 7 photo albums, movie files, and more..."
al@14068 8 MAINTAINER="al.bobylev@gmail.com"
pascal@15379 9 LICENSE="PublicDomain"
al@14068 10 WEB_SITE="http://yuzem.blogspot.com/p/avatar-factory.html?m=1"
al@20766 11
al@14068 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@14068 13 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL"
al@14068 14
al@20766 15 compile_rules() {
al@20766 16 mkdir -p $install/usr/bin $install/usr/share/applications
al@14068 17
al@20766 18 sed -i 's|/usr/local|/usr|g' avatar-factory
al@20766 19 cp avatar-factory $install/usr/bin
al@20766 20
al@20766 21 cp -r Avatar-Factory $install/usr/share/avatar-factory
al@20766 22
al@20766 23 sed -i 's|/usr/local|/usr|' avatar-factory.desktop
al@20766 24 cp avatar-factory.desktop $install/usr/share/applications
al@14068 25
al@14068 26 # fix permissions
al@20766 27 find $install -type d -exec chmod 755 {} \;
al@20766 28 find $install -type f -exec chmod 644 {} \;
al@20766 29 for file in $(find $install -type f); do
al@14068 30 [ $(head -n1 $file | grep '#!/bin/bash') ] && chmod 755 $file
al@14068 31 done
al@20766 32 chown -R root.root $install
al@14068 33 }
al@20766 34
al@20766 35 genpkg_rules() {
al@20766 36 copy @std
al@20766 37 DEPENDS="bash findutils imagemagick sed zenity-gtk2"
al@20766 38 }