summaryrefslogtreecommitdiffstats
path: root/abs/extra/libmodplug/PKGBUILD
blob: 0db66390831778efccc6980f59e71f8d6578cb81 (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 150611 2012-02-18 22:54:35Z pierre $
# Maintainer:
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Patrick Leslie Polzer <leslie.polzer@gmx.net>

pkgname=libmodplug
pkgver=0.8.8.4
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=('fddc3c704c5489de2a3cf0fedfec59db')

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"
}