diff options
author | root <root@rshg054.dnsready.net> | 2013-09-06 01:39:14 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-09-06 01:39:14 -0700 |
commit | 670cfaf55e53f7380ca8ee7b4acb2bf0248685c4 (patch) | |
tree | 93a452c84aa492d51f56911d74a8fcbbd496b550 /extra/libmodplug/PKGBUILD | |
parent | f7a2cf07dfae6a6707525e05f4f7f1998b382c4d (diff) |
Fri Sep 6 01:39:05 PDT 2013
Diffstat (limited to 'extra/libmodplug/PKGBUILD')
-rw-r--r-- | extra/libmodplug/PKGBUILD | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/extra/libmodplug/PKGBUILD b/extra/libmodplug/PKGBUILD index 0db663908..9241d3603 100644 --- a/extra/libmodplug/PKGBUILD +++ b/extra/libmodplug/PKGBUILD @@ -1,28 +1,35 @@ -# $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> +# $Id: PKGBUILD 193909 2013-09-05 20:04:00Z eric $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=libmodplug pkgver=0.8.8.4 -pkgrel=1 +pkgrel=2 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') +source=(http://downloads.sourceforge.net/modplug-xmms/${pkgname}-${pkgver}.tar.gz + libmodplug-CVE-2013-4233-Fix.patch libmodplug-CVE-2013-4234-Fix.patch) +sha1sums=('df4deffe542b501070ccb0aee37d875ebb0c9e22' + 'daee7fba80f633236a3d09ad19225c57013140e9' + '2e870747261a86dce5056cbf077c5914e9e8b287') + +prepare() { + cd ${pkgname}-${pkgver} + patch -p2 -i "${srcdir}/libmodplug-CVE-2013-4233-Fix.patch" + patch -p2 -i "${srcdir}/libmodplug-CVE-2013-4234-Fix.patch" +} build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} ./configure --prefix=/usr make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |