Skip to content

Commit 13ffc55

Browse files
committed
pkg: update PKGBUILD for arch
1 parent 9bc1e7d commit 13ffc55

1 file changed

Lines changed: 9 additions & 12 deletions

File tree

pkg/arch/bin/PKGBUILD

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
11
# Maintainer: Lunix (David Hess) <davidhess336@gmx.de>
2+
23
pkgname='dimethoxy-disflux-bin'
34
pkgver=1.2.0
45
pkgrel=1
56
pkgdesc="Transient Smearing Audio Effect for VST3, LV2 and CLAP compatible hosts"
67
arch=('x86_64')
8+
options=('!debug' '!strip')
79
url="https://github.com/Dimethoxy/Disflux"
810
license=('GPL3')
911
provides=('dimethoxy-disflux')
1012
conflicts=('dimethoxy-disflux' 'dimethoxy-disflux-git' 'dimethoxy-disflux-bin')
11-
source=("https://github.com/Dimethoxy/Disflux/releases/download/v1.2.0/disflux-v1.2.0-linux-vanilla.zip")
12-
sha256sums=('sha256:6aea3aaefe42721ed631fa1cf38bfd07a2c9bc49444dd0f132de25f021b522ef')
13+
source=("https://github.com/Dimethoxy/Disflux/releases/download/v${pkgver}/disflux-v${pkgver}-linux-arch.pkg.tar.zst")
14+
sha256sums=('8368e92106f156b848d782400922463452db923cbdf147c85df2b151216ccce2')
1315

1416
package() {
15-
# Define new directories
16-
install -d "$pkgdir/usr/lib/vst3/Dimethoxy/Disflux" "$pkgdir/usr/lib/lv2/Dimethoxy/Disflux"
17-
install -d "$pkgdir/usr/share/licenses/$pkgname"
18-
19-
# Install plugins
20-
cp -r "$srcdir/Disflux.vst3" "$pkgdir/usr/lib/vst3/Dimethoxy/Disflux/"
21-
cp -r "$srcdir/Disflux.clap" "$pkgdir/usr/lib/clap/Dimethoxy/Disflux/"
22-
cp -r "$srcdir/Disflux.lv2" "$pkgdir/usr/lib/lv2/Dimethoxy/Disflux/"
17+
bsdtar -xf "$srcdir/disflux-v${pkgver}-linux-arch.pkg.tar.zst" -C "$pkgdir"
2318

24-
# Download and install the LICENSE from the remote URL
25-
curl -L "https://raw.githubusercontent.com/Dimethoxy/Disflux/refs/heads/main/LICENSE" -o "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
19+
# Remove upstream pacman metadata (critical fix)
20+
rm -f "$pkgdir/.PKGINFO" \
21+
"$pkgdir/.BUILDINFO" \
22+
"$pkgdir/.MTREE"
2623
}

0 commit comments

Comments
 (0)