summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a704f5ea270ed5944514b05764426a16d94e9d19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
pkgname=zmusic-bin
pkgver=1.1.12
pkgrel=1
pkgdesc="GZDoom's music system as a standalone library"
arch=('x86_64' 'aarch64')
url="https://gitlab.com/linuxbombay/zmusic"
license=('BSD' 'GPL3' 'LGPL2.1' 'LGPL3' 'custom:dumb')
depends=('alsa-lib' 'libsndfile' 'mpg123' 'zlib')
conflicts=("zmusic" "zmusic-git")
optdepends=('soundfont-fluid: default soundfont for FluidSynth')
makedepends=('unzip')
_pkgrel_x86_64=1
_pkgrel_aarch64=1
sha256sums_x86_64=('b14c5d50b687d57565a669c1332d98ad7b8461a8a9b217b43b357b1a78d8fab4')
sha256sums_aarch64=('cd5f9bdd92c1b997353cfd34ac2663d41e0b1aae173c314549766c152a3c8949')
#_pkgrel_i386=1
#_pkgrel_i686=1
#sha256sums_i386=('SKIP')
#sha256sums_i686=('SKIP')
source_x86_64=("$url/binaries/$pkgver/-/raw/main/zmusic-linux-x64.tar.xz")
source_aarch64=("$url/binaries/$pkgver/-/raw/main/zmusic-linux-arm64.tar.xz")
#source_i386=("zmusic-linux-i386.tar.xz")
#source_i686=("zmusic-linux-i386.tar.xz")

package() {
    install -dm755 "$pkgdir/usr/lib"
    install -dm755 "$pkgdir/usr/share"
    install -dm755 "$pkgdir/usr/include"

    #Removing uneeded .files
    rm -rf $srcdir/zmusic/.*
    cp -r "$srcdir/zmusic/." "$pkgdir"
}