summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 34895549d3d3759f10d7f9be1417f1bb0514bc1f (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
34
35
36
37
38
# Maintainer: Bohdan Mart <bogdan.mart at gmail>
# Contributor: Jan de Groot <jgc at archlinux org>
# Contributor: Kritoke <kritoke at gamebox net>

# Current maintainer don't know anything about this lib and would be gald if it would be adopted by anybody.
# I have published it on;y to be able to build mp3blaster  (which I also don't use, but own package for now)

pkgname=libsidplay
pkgver=1.36.59
pkgrel=10
pkgdesc="A library for playing SID music files."
arch=('x86_64')
url="https://critical.ch/distfiles/"
license=('GPL')
depends=('gcc-libs')
source=(https://critical.ch/distfiles/${pkgname}-${pkgver}.tgz
        libsidplay-1.36.59-gcc43.patch
        g++-6_build.patch)
sha256sums=('3da9b38d4eb5bf9e936b9604ba92da0594ef38047d50cf806a8e11c400008024'
            '68476bfee9a378b045c81eb0f6d9aee7341610fe6b22047d67ce859a7a3b5053'
            '6612b8c684bfd80d88431d3aa7f5a3fc911528f25f67ab530f78a7592cc11e23')

prepare() {
  cd ${pkgname}-${pkgver}
  patch -Np1 -i ../libsidplay-1.36.59-gcc43.patch
  patch -Np1 -i ../g++-6_build.patch
}

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}