diff options
author | neeshy | 2022-11-09 04:08:09 -0500 |
---|---|---|
committer | neeshy | 2022-11-09 04:08:09 -0500 |
commit | 7cc0b4ff60be8f884cc3d3f626ed8430e0531f81 (patch) | |
tree | e0e99f27bd34743315af694e00b1446488d9ed97 | |
parent | 0457749a02ba057bca271c8532346bd3119c3b3d (diff) | |
download | aur-7cc0b4ff60be8f884cc3d3f626ed8430e0531f81.tar.gz |
ripme: update to fork
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 23 | ||||
-rw-r--r-- | ripme-gradle.patch | 10 |
3 files changed, 30 insertions, 15 deletions
@@ -1,14 +1,14 @@ pkgbase = ripme pkgdesc = Downloads albums in bulk - pkgver = 1.7.95 + pkgver = 2.1.3 pkgrel = 1 - url = https://github.com/RipMeApp/ripme + url = https://github.com/ripmeapp2/ripme arch = any license = MIT - makedepends = maven depends = java-runtime - source = https://github.com/RipMeApp/ripme/archive/1.7.95.tar.gz - sha256sums = bf631cbc19cd0a16546aa1125fc12526f63e6d793f4de5e8f31f3f48d17a70b9 + source = https://github.com/ripmeapp2/ripme/archive/2.1.3.tar.gz + source = ripme-gradle.patch + sha256sums = bda7ab04dd3e45f7a81e9e9f068aba65a92686a003a0823655240319e8949bd8 + sha256sums = 35f69383565fd3a19b1cae105be84c7b6632990253b2ead7bfd39ecb22324e48 pkgname = ripme - @@ -1,20 +1,26 @@ # Maintainer: neeshy <neeshy@tfwno.gf> pkgname=ripme -pkgver=1.7.95 +pkgver=2.1.3 pkgrel=1 pkgdesc="Downloads albums in bulk" arch=('any') -url="https://github.com/RipMeApp/ripme" +url="https://github.com/ripmeapp2/ripme" license=('MIT') depends=('java-runtime') -makedepends=('maven') -source=("https://github.com/RipMeApp/ripme/archive/$pkgver.tar.gz") -sha256sums=('bf631cbc19cd0a16546aa1125fc12526f63e6d793f4de5e8f31f3f48d17a70b9') +source=("https://github.com/ripmeapp2/ripme/archive/$pkgver.tar.gz" + ripme-gradle.patch) +sha256sums=('bda7ab04dd3e45f7a81e9e9f068aba65a92686a003a0823655240319e8949bd8' + '35f69383565fd3a19b1cae105be84c7b6632990253b2ead7bfd39ecb22324e48') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i "$srcdir/ripme-gradle.patch" +} build() { cd "$srcdir/$pkgname-$pkgver" - mvn clean compile assembly:single - cat << EOF > ripme.sh + ./gradlew clean build + cat <<EOF >ripme.sh #!/bin/sh exec java -jar /usr/share/java/ripme.jar "\$@" EOF @@ -22,7 +28,6 @@ EOF package() { cd "$srcdir/$pkgname-$pkgver" - install -Dm644 "target/ripme-$pkgver-jar-with-dependencies.jar" \ - "$pkgdir/usr/share/java/ripme.jar" + install -Dm644 "build/libs/ripme-$pkgver.jar" "$pkgdir/usr/share/java/ripme.jar" install -Dm755 ripme.sh "$pkgdir/usr/bin/ripme" } diff --git a/ripme-gradle.patch b/ripme-gradle.patch new file mode 100644 index 000000000000..63fb6458e65b --- /dev/null +++ b/ripme-gradle.patch @@ -0,0 +1,10 @@ +--- a/build.gradle.kts ++++ b/build.gradle.kts +@@ -49,6 +49,7 @@ + + tasks.withType<Jar> { + duplicatesStrategy = DuplicatesStrategy.INCLUDE ++ archiveVersion.set("2.1.3") + manifest { + attributes["Main-Class"] = "com.rarchives.ripme.App" + attributes["Implementation-Version"] = archiveVersion |