diff options
author | OSAMC | 2024-04-18 12:09:16 +0000 |
---|---|---|
committer | Christopher Arndt | 2024-04-18 12:09:16 +0000 |
commit | 6a189eed7eb9819f948b1bb3551af37f8c8752de (patch) | |
tree | 58c7fb2b234536d8f0a0bea201282bb79654ba17 | |
parent | 953857128bf764d4049141b1d8b2cc69933aeaf2 (diff) | |
download | aur-6a189eed7eb9819f948b1bb3551af37f8c8752de.tar.gz |
feat: bump pkgrel of 'convertwithmoss' to 2 to trigger sync to AUR (#406)
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 57 |
3 files changed, 40 insertions, 42 deletions
@@ -1,15 +1,14 @@ pkgbase = convertwithmoss - pkgdesc = A tool for converting multi-sample from one format to another. - pkgver = 7.5.0 - pkgrel = 1 + pkgdesc = A tool for converting multi-samples from one format to another + pkgver = 8.0.0 + pkgrel = 2 url = https://mossgrabers.de/Software/ConvertWithMoss/ConvertWithMoss.html - arch = any - groups = pro-audio - license = LGPL3 + arch = aarch64 + arch = x86_64 + license = LGPL-3.0-only makedepends = maven - depends = java-runtime>=17 - depends = java-openjfx - source = convertwithmoss-7.5.0.tar.gz::https://github.com/git-moss/ConvertWithMoss/archive/refs/tags/7.5.0.tar.gz - sha512sums = f705a55ab4c5fd04c6949ccc636386ed65c6c031cb5ba1ebdffe5cfef35007585b87cf0bbb19326ded908c2644c7e0f3d1a76250684f05236c3499bcbadf0510 + depends = java-runtime>=16 + source = convertwithmoss-8.0.0.tar.gz::https://github.com/git-moss/ConvertWithMoss/archive/refs/tags/8.0.0.tar.gz + sha256sums = 45b12cc8281feb50837d32b4c22bdf22e99b91a8d07dd666e761ea31e7db4f7e pkgname = convertwithmoss diff --git a/.gitignore b/.gitignore index de9fc8686886..57e7fd90984f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -convertwithmoss-* -/pkg -/src +pkg/ +src/ *.tar.* +*.zip @@ -1,34 +1,33 @@ -# Maintainer: Mathias Buhr <napcode@aparatus.de> -# Maintainer: redtide <redtid3@gmail.com> +# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio> # Contributor: Christopher Arndt <osam -at- chrisarndt -dot- de> +# Contributor: redtide <redtid3 -at- gmail -dot- com> -_pkgname=ConvertWithMoss -pkgname=${_pkgname,,} -pkgver=7.5.0 -pkgrel=1 -pkgdesc="A tool for converting multi-sample from one format to another." -url="https://mossgrabers.de/Software/ConvertWithMoss/ConvertWithMoss.html" -arch=(any) -license=(LGPL3) -groups=(pro-audio) -depends=( - 'java-runtime>=17' - 'java-openjfx' -) +_name=ConvertWithMoss +pkgname=${_name,,} +pkgver=8.0.0 +pkgrel=2 +pkgdesc='A tool for converting multi-samples from one format to another' +url='https://mossgrabers.de/Software/ConvertWithMoss/ConvertWithMoss.html' +arch=(aarch64 x86_64) +license=(LGPL-3.0-only) +depends=('java-runtime>=16') makedepends=(maven) -source=( - $pkgname-$pkgver.tar.gz::https://github.com/git-moss/ConvertWithMoss/archive/refs/tags/$pkgver.tar.gz -) -sha512sums=('f705a55ab4c5fd04c6949ccc636386ed65c6c031cb5ba1ebdffe5cfef35007585b87cf0bbb19326ded908c2644c7e0f3d1a76250684f05236c3499bcbadf0510') -prepare() ( - cd "$_pkgname-$pkgver" - export MAVEN_OPTS=-Dmaven.repo.local="$srcdir/repository" - # no matter what it seems Maven downloads everything with any command, - # so download and build all at once in prepare() instead (no downloads in build()) - make -) +source=("$pkgname-$pkgver.tar.gz::https://github.com/git-moss/ConvertWithMoss/archive/refs/tags/$pkgver.tar.gz") +sha256sums=('45b12cc8281feb50837d32b4c22bdf22e99b91a8d07dd666e761ea31e7db4f7e') + +build() { + cd $_name-$pkgver + mvn -Dproject.build.outputTimestamp=$SOURCE_DATE_EPOCH clean install +} + package() { - cd "$_pkgname-$pkgver" - export MAVEN_OPTS=-Dmaven.repo.local="$srcdir/repository" - DESTDIR="${pkgdir}/" PREFIX=/usr make install + cd $_name-$pkgver + install -Dm644 target/lib/*.jar -t "$pkgdir"/usr/share/$_name + ln -sf $pkgname-$pkgver.jar "$pkgdir"/usr/share/$_name/$pkgname.jar + install -Dm644 linux/de.mossgrabers.$_name.desktop \ + -t "$pkgdir"/usr/share/applications + install -Dm644 linux/de.mossgrabers.$_name.appdata.xml \ + -t "$pkgdir"/usr/share/metainfo + install -Dm644 icons/$pkgname.png -t "$pkgdir"/usr/share/pixmaps + install -Dm755 linux/$pkgname.sh "$pkgdir"/usr/bin/$pkgname } |