diff options
Diffstat (limited to 'audio/podget/podget.SlackBuild')
-rw-r--r-- | audio/podget/podget.SlackBuild | 18 |
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 |