mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 16:37:13 +08:00
29 lines
757 B
Bash
29 lines
757 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libsidplayt>
|
|
|
|
pkgname=libsidplay
|
|
pkgver=1.36.59
|
|
pkgrel=5
|
|
pkgdesc="A library for playing SID music files."
|
|
arch=('x86_64')
|
|
url="http://critical.ch/distfiles/"
|
|
license=('GPL')
|
|
depends=('gcc-libs')
|
|
source=(http://critical.ch/distfiles/${pkgname}-${pkgver}.tgz libsidplay-1.36.59-gcc43.patch)
|
|
md5sums=('37c51ba4bd57164b1b0bb7b43b9adece' 'c24d7bca2639f4fee03c40c7dcaadfee')
|
|
|
|
prepare() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
patch -Np1 -i $srcdir/libsidplay-1.36.59-gcc43.patch
|
|
}
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|