mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 22:47:16 +08:00
34 lines
874 B
Bash
34 lines
874 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=libmodplug
|
|
pkgver=0.8.8.3
|
|
pkgrel=1
|
|
pkgdesc="A MOD playing library"
|
|
arch=('i686' 'x86_64')
|
|
url="http://modplug-xmms.sourceforge.net/"
|
|
license=('custom')
|
|
depends=('gcc-libs')
|
|
options=('!libtool')
|
|
source=("http://downloads.sourceforge.net/modplug-xmms/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('8a9c713f0f56894163ddc61f9a0d1f71')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|
|
|