Package Details: gradle-profiler-git r398.5165bcf-1

Git Clone URL: https://aur.archlinux.org/gradle-profiler-git.git (read-only, click to copy)
Package Base: gradle-profiler-git
Description: Powerful build system for the JVM
Upstream URL: https://gradle.org/
Licenses: Apache
Submitter: msrd0
Maintainer: None
Last Packager: msrd0
Votes: 2
Popularity: 0.130541
First Submitted: 2019-03-14 16:43
Last Updated: 2019-03-14 16:43

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

AlexParkhomenko commented on 2020-03-24 17:43

# bsdtar: Error opening archive: Failed to open 'build/distributions/gradle-profiler.tar'


package() {
    cd "$srcdir/$pkgname"

    mkdir -p "$pkgdir/usr/"{bin,share}

    # OOPS! WE HAVE build/distributions/gradle-profiler-0.12.0-SNAPSHOT.tar
    bsdtar xf build/distributions/gradle-profiler*.tar -C "$pkgdir/usr/share/" # ADD THIS
    mv $pkgdir/usr/share/gradle-profiler* $pkgdir/usr/share/gradle-profiler    # ADD THIS

    rm "$pkgdir/usr/share/gradle-profiler/bin/gradle-profiler.bat"
    ln -s "/usr/share/gradle-profiler/bin/gradle-profiler" "$pkgdir/usr/bin/"
}