summaryrefslogtreecommitdiff
path: root/audio/podget/podget.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-07-12 17:29:38 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-22 06:55:19 +0700
commit5625a4fae4e3d2397b6cbda35451a166c38e0828 (patch)
tree0f89cb17320acb2597d9fd7bb4e4616dad88a210 /audio/podget/podget.SlackBuild
parent799fd7e23b2c5cd0a8946b4ea41686632d5cf971 (diff)
downloadslackbuilds-5625a4fae4e3d2397b6cbda35451a166c38e0828.tar.gz
audio/podget: Updated for version 0.8.5, new maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/podget/podget.SlackBuild')
-rw-r--r--audio/podget/podget.SlackBuild18
1 files changed, 15 insertions, 3 deletions
diff --git a/audio/podget/podget.SlackBuild b/audio/podget/podget.SlackBuild
index a333f9602c..2a92e7e9e0 100644
--- a/audio/podget/podget.SlackBuild
+++ b/audio/podget/podget.SlackBuild
@@ -21,9 +21,14 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20170712 bkw:
+# - Take over as maintainer
+# - Update for v0.8.5
+# - Get rid of CRLF line endings in a couple of the scripts
+# - Minor cleanups
PRGNAM=podget
-VERSION=${VERSION:-0.7.5}
+VERSION=${VERSION:-0.8.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,8 +54,15 @@ 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 {} \;
-make
-prefix=/usr make DESTDIR=$PKG install
+# 20170712 bkw: get rid of DOS/Win line endings.
+find . -type f | \
+ xargs file | \
+ grep 'ASCII.*LF' | \
+ cut -d: -f1 | \
+ xargs sed -i 's,\r,,' \
+|| true
+
+make -j1 prefix=/usr DESTDIR=$PKG install
mv $PKG/usr/share/man $PKG/usr/man
rm -rf $PKG/usr/share