|
@@ -1,7 +1,7 @@
|
|
|
# Build recipe for fittsen (fork of fittstool).
|
|
|
#
|
|
|
# Copyright (c) 2018 Markus Tornow, <tornow@riseup.net>.
|
|
|
-# Copyright (c) 2018-2019 Matias Fonzo, <selk@dragora.org>.
|
|
|
+# Copyright (c) 2018-2020 Matias Fonzo, <selk@dragora.org>.
|
|
|
#
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
# you may not use this file except in compliance with the License.
|
|
@@ -15,12 +15,15 @@
|
|
|
# See the License for the specific language governing permissions and
|
|
|
# limitations under the License.
|
|
|
|
|
|
+# Exit immediately on any error
|
|
|
+set -e
|
|
|
+
|
|
|
program=fittsen
|
|
|
version=20190618_277dd4f
|
|
|
release=4
|
|
|
|
|
|
-# Set 'outdir' for a nice and well-organized output directory
|
|
|
-outdir="${outdir}/${arch}/community/x-apps"
|
|
|
+# Define a category for the output of the package name
|
|
|
+pkgcategory=x-apps
|
|
|
|
|
|
tarname=${program}-${version}.tar.lz
|
|
|
|
|
@@ -46,8 +49,6 @@ docsdir="${docdir}/${program}-${version}"
|
|
|
|
|
|
build()
|
|
|
{
|
|
|
- set -e
|
|
|
-
|
|
|
unpack "${tardir}/$tarname"
|
|
|
|
|
|
cd "$srcdir"
|
|
@@ -70,7 +71,7 @@ build()
|
|
|
then
|
|
|
(
|
|
|
cd "${destdir}/$mandir"
|
|
|
- find . -type f -exec lzip -9 '{}' +
|
|
|
+ find . -type f -exec lzip -9 {} +
|
|
|
find . -type l | while read -r file
|
|
|
do
|
|
|
ln -sf "$(readlink -- "$file").lz" "${file}.lz"
|