summaryrefslogtreecommitdiff
path: root/audio/eawpats
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-05-12 15:53:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-12 15:53:46 +0700
commitcca768c3937163a9f9ea9116c5eab2a23907c53e (patch)
tree3baece5887b1e7f9da519b866523e79bb590c646 /audio/eawpats
parent40e52acf0b2016b5dc0c72a3730383c22b3d336b (diff)
downloadslackbuilds-cca768c3937163a9f9ea9116c5eab2a23907c53e.tar.gz
audio/eawpats: Add missing package.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/eawpats')
-rw-r--r--audio/eawpats/eawpats.SlackBuild14
1 files changed, 13 insertions, 1 deletions
diff --git a/audio/eawpats/eawpats.SlackBuild b/audio/eawpats/eawpats.SlackBuild
index 83d7c5f14c..d109f72ed9 100644
--- a/audio/eawpats/eawpats.SlackBuild
+++ b/audio/eawpats/eawpats.SlackBuild
@@ -11,11 +11,20 @@
# This is the original author's site, but it's more polite to download
# from the gentoo mirror (see .info file)
+# 20140511 bkw: one patch was missing due to tar being silly.
+# When extracting (with tar, which is really tar-1.26 on slack 14.1):
+# tar: eawpats/charang.pat: implausibly old time stamp 1969-12-31 18:59:59
+# The file gets extracted fine, it's just a warning. But the old tar-1.13
+# used by makepkg just ignores the file, so it doesn't end up
+# in the package! The fix is just to touch it after extraction.
+# I only ever noticed this because allegro's pat2dat chokes on
+# missing patches.
+
PRGNAM=eawpats
VERSION=${VERSION:-12}
SRCVER=${VERSION}_full
ARCH=noarch
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -38,6 +47,9 @@ 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 {} \;
+# see above
+touch charang.pat
+
# Un-DOSify text files
find . -type f -print0 | xargs -0 file | grep 'text.*CRLF' | \
cut -d: -f1 | xargs perl -i -pe 's/\r//g'