summaryrefslogtreecommitdiff
path: root/extra/libmodplug/PKGBUILD
blob: 874946404378840d8fe94f0e1fa5774f6b633391 (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
# $Id: PKGBUILD 127953 2011-06-20 06:04:33Z andrea $
# Maintainer:
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Patrick Leslie Polzer <leslie.polzer@gmx.net>

pkgname=libmodplug
pkgver=0.8.8.3
pkgrel=1
pkgdesc="A MOD playing library"
arch=(i686 x86_64 'mips64el')
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"
}