Package Details: fadecut-git 20180217-1

Git Clone URL: (read-only, click to copy)
Package Base: fadecut-git
Description: Toolset to rip audiostreams, cut, fade in/out and tag the resulting audiofiles (git version)
Upstream URL:
Licenses: GPL3
Conflicts: fadecut
Provides: fadecut
Submitter: mitsu
Maintainer: entshuld
Last Packager: mitsu
Votes: 1
Popularity: 0.000000
First Submitted: 2013-06-29 17:05 (UTC)
Last Updated: 2018-02-17 14:29 (UTC)

Latest Comments

mitsu commented on 2021-04-24 13:19 (UTC)

Yeah it's kinda irresponsible of me to leave it at that, I rather should pass on the keys to active packagers instead.. (and who actually use the software more than once every 5 years!)

entshuld commented on 2021-04-24 01:26 (UTC) (edited on 2021-04-24 01:28 (UTC) by entshuld)

Hi, I am sending you something that I used to properly use the Makefile from the package. I already sent the modifications upstream, but I don't know if they will take them. I tried to send you this over e-mail, but your (M$oft?) server did not like it: does not like recipient.
Remote host said: 550 5.1.1 <archlinux --at-- suumitsu dododot eu>: Recipient address rejected: User unknown in virtual mailbox table
Giving up on

diff --git a/Makefile b/Makefile
index 46c5abb..3e188cb 100644
--- a/Makefile
+++ b/Makefile
@@ -25,11 +25,10 @@ MAN1DIR     = $(PREFIX)/share/man/man1
 TESTINGDIR = testing
 HOME_FADECUT   = ${HOME}/.fadecut

-   @echo Building manpage from
-   pandoc -s -t man man/ -o man/fadecut.1
+all: install-bin install-man install-doc

+test: install-bin
    for Recipe in $(TESTINGDIR)/recipes/*.sh; do \
      echo -n "Testing $$Recipe: "; \
      ./$$Recipe `pwd` || exit $?; \
@@ -46,13 +45,15 @@ clean:
      rm man/fadecut.1; \

+install-bin: $(PN)
    @echo 'installing main script...'
-   install -Dm755 $(PN) "$(DESTDIR)$(BINDIR)/$(PN)"
+   install -Dm755 $< "$(DESTDIR)$(BINDIR)/$(PN)"

+install-man: man/$(PN)
+   @echo Building manpage from
+   pandoc -s -t man $< -o $(subst .md,,$<)
    @echo 'installing manpages...'
-   install -Dm644 man/$(PN).1 "$(DESTDIR)$(MAN1DIR)/$(PN).1"
+   install -Dm644 $< "$(DESTDIR)$(MAN1DIR)/$(PN).1"

    @echo 'installing documentation...'
@@ -61,4 +62,5 @@ install-doc:
    gzip -n9 "$(DESTDIR)$(DOCDIR)/"
    gzip -n9 "$(DESTDIR)$(DOCDIR)/"

-install: all install-bin install-man install-doc
+install: all
diff --git a/PKGBUILD b/PKGBUILD
index 46c5abb..3e188cb 100644
modified   PKGBUILD
@@ -5,32 +5,25 @@ pkgver=20180217
 pkgdesc="Toolset to rip audiostreams, cut, fade in/out and tag the resulting audiofiles (git version)"
 arch=("i686" "x86_64")
-depends=("id3v2" "sox" "streamripper" "vorbis-tools" "opus-tools" "git")
+depends=("id3v2" "sox" "streamripper" "vorbis-tools" "opus-tools" "mediainfo")
+       'Makefile.diff.gz')
+           '0b651945cddee9e5f31dc377ca9117a1fb99b6c812cadd045f469024c29069ed902e2da3809858cef04e603658e38ca469ba11f2ecb72a81e9ae6309dbe41461')

-package() {
+prepare () {
+  patch -d "${srcdir}/${_gitname}" -i "${srcdir}/Makefile.diff"

-  msg "Connecting to GIT server...."
-  if [[ -d $_gitname ]]; then
-    cd $_gitname || return 1
-    git pull || return 1
-  else
-    git clone $_gitroot || return 1
-  fi
-  msg " checkout done."
-  cd $srcdir/$_gitname || return 1
-  install -Dm755 fadecut "${pkgdir}/usr/bin/fadecut"
-  install -Dm755 fcstats "${pkgdir}/usr/bin/fcstats"
-  install -D "man/" "${pkgdir}/usr/share/man/man1/fadecut.1"
+package() {
+  cd "${srcdir}"/${_gitname}
+  DESTDIR="${pkgdir}" make install

 # vim:set ts=2 sw=2 et: