diff --git a/pkg/arch/bin/PKGBUILD b/pkg/arch/bin/PKGBUILD index 6e2cb6d..998a9d6 100644 --- a/pkg/arch/bin/PKGBUILD +++ b/pkg/arch/bin/PKGBUILD @@ -1,26 +1,23 @@ # Maintainer: Lunix (David Hess) + pkgname='dimethoxy-disflux-bin' pkgver=1.2.0 pkgrel=1 pkgdesc="Transient Smearing Audio Effect for VST3, LV2 and CLAP compatible hosts" arch=('x86_64') +options=('!debug' '!strip') url="https://github.com/Dimethoxy/Disflux" license=('GPL3') provides=('dimethoxy-disflux') conflicts=('dimethoxy-disflux' 'dimethoxy-disflux-git' 'dimethoxy-disflux-bin') -source=("https://github.com/Dimethoxy/Disflux/releases/download/v1.2.0/disflux-v1.2.0-linux-vanilla.zip") -sha256sums=('sha256:6aea3aaefe42721ed631fa1cf38bfd07a2c9bc49444dd0f132de25f021b522ef') +source=("https://github.com/Dimethoxy/Disflux/releases/download/v${pkgver}/disflux-v${pkgver}-linux-arch.pkg.tar.zst") +sha256sums=('8368e92106f156b848d782400922463452db923cbdf147c85df2b151216ccce2') package() { - # Define new directories - install -d "$pkgdir/usr/lib/vst3/Dimethoxy/Disflux" "$pkgdir/usr/lib/lv2/Dimethoxy/Disflux" - install -d "$pkgdir/usr/share/licenses/$pkgname" - - # Install plugins - cp -r "$srcdir/Disflux.vst3" "$pkgdir/usr/lib/vst3/Dimethoxy/Disflux/" - cp -r "$srcdir/Disflux.clap" "$pkgdir/usr/lib/clap/Dimethoxy/Disflux/" - cp -r "$srcdir/Disflux.lv2" "$pkgdir/usr/lib/lv2/Dimethoxy/Disflux/" + bsdtar -xf "$srcdir/disflux-v${pkgver}-linux-arch.pkg.tar.zst" -C "$pkgdir" - # Download and install the LICENSE from the remote URL - curl -L "https://raw.githubusercontent.com/Dimethoxy/Disflux/refs/heads/main/LICENSE" -o "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + # Remove upstream pacman metadata (critical fix) + rm -f "$pkgdir/.PKGINFO" \ + "$pkgdir/.BUILDINFO" \ + "$pkgdir/.MTREE" } \ No newline at end of file