diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-03-01 07:13:17 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-03-01 07:13:17 +0700 |
commit | 81df9ea5a4aa56fa888b589316f2cf82a8a0ed5e (patch) | |
tree | 16ee601506768c13be40499ecb2ea77c47206468 /multimedia/beets/beets.SlackBuild | |
parent | 759f9eeec590911e6c6d361128ab3afc4ee48b4e (diff) | |
download | slackbuilds-81df9ea5a4aa56fa888b589316f2cf82a8a0ed5e.tar.gz |
multimedia/beets: Updated for version 1.3.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/beets/beets.SlackBuild')
-rw-r--r-- | multimedia/beets/beets.SlackBuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/multimedia/beets/beets.SlackBuild b/multimedia/beets/beets.SlackBuild index 5e393f2178..4ab47619bb 100644 --- a/multimedia/beets/beets.SlackBuild +++ b/multimedia/beets/beets.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=beets -VERSION=${VERSION:-1.3.2} +VERSION=${VERSION:-1.3.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,8 +54,6 @@ else LIBDIRSUFFIX="" fi -PYTHON=python - set -e rm -rf $PKG @@ -71,18 +69,19 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -$PYTHON setup.py install --root=$PKG +python setup.py install --root=$PKG -# Install man page(s) to correct location: install -D -m644 man/beet.1 $PKG/usr/man/man1/beet.1 +install -D -m644 man/beetsconfig.5 $PKG/usr/man/man5/beetsconfig.5 + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - README.rst PKG-INFO docs/*\ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst PKG-INFO LICENSE docs/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |