wok-next annotate avatar-factory/receipt @ rev 21336
updated lighttpd-ssl (1.4.35 -> 1.5.54)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 13 14:49:06 2019 +0100 (2019-12-13) |
parents | 0cbe4b1f2230 |
children |
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@21057 | 11 HOST_ARCH="any" |
al@20766 | 12 |
al@14068 | 13 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@14068 | 14 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL" |
al@14068 | 15 |
al@21111 | 16 DEPENDS="bash findutils imagemagick sed zenity-gtk2" |
al@21111 | 17 |
al@20766 | 18 compile_rules() { |
al@20766 | 19 mkdir -p $install/usr/bin $install/usr/share/applications |
al@14068 | 20 |
al@20766 | 21 sed -i 's|/usr/local|/usr|g' avatar-factory |
al@20766 | 22 cp avatar-factory $install/usr/bin |
al@20766 | 23 |
al@20766 | 24 cp -r Avatar-Factory $install/usr/share/avatar-factory |
al@20766 | 25 |
al@20766 | 26 sed -i 's|/usr/local|/usr|' avatar-factory.desktop |
al@20766 | 27 cp avatar-factory.desktop $install/usr/share/applications |
al@14068 | 28 |
al@14068 | 29 # fix permissions |
al@20766 | 30 find $install -type d -exec chmod 755 {} \; |
al@20766 | 31 find $install -type f -exec chmod 644 {} \; |
al@20766 | 32 for file in $(find $install -type f); do |
al@14068 | 33 [ $(head -n1 $file | grep '#!/bin/bash') ] && chmod 755 $file |
al@14068 | 34 done |
al@20766 | 35 chown -R root.root $install |
al@21111 | 36 |
al@21111 | 37 # broken symlink to /home/azd/Workshop/Programming/imdb-thumbnailer/imdb-thumbnailer |
al@21111 | 38 rm $install/usr/share/avatar-factory/thumbnailer |
al@14068 | 39 } |