[arch-commits] Commit in bmp-wma/trunk (PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Sat Sep 10 14:25:52 UTC 2011
Date: Saturday, September 10, 2011 @ 10:25:52
Author: pierre
Revision: 137729
upgpkg: bmp-wma 0.1.1-4
rebuild old package
Modified:
bmp-wma/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-09-10 14:21:31 UTC (rev 137728)
+++ PKGBUILD 2011-09-10 14:25:52 UTC (rev 137729)
@@ -4,27 +4,31 @@
pkgname=bmp-wma
pkgver=0.1.1
-pkgrel=3
+pkgrel=4
pkgdesc="WMA plugin for Beep Media Player"
url="http://bmp-plugins.berlios.de/novelian/project.php?p=bmp-wma"
license=('GPL')
arch=('x86_64' 'i686')
depends=('bmp')
groups=('bmp-plugins' 'bmp-io-plugins')
-options=(!libtool !emptydirs)
-source=(http://download.berlios.de/bmp-plugins/${pkgname}-${pkgver}.tar.gz
- bmp-wma-gcc4.patch)
+options=('!libtool' '!emptydirs')
+source=("http://download.berlios.de/bmp-plugins/${pkgname}-${pkgver}.tar.gz"
+ 'bmp-wma-gcc4.patch')
md5sums=('8dcf3fcdb10e8e2e386f70745812412b'
'730eba8f41e989dd8b56c18bcc826cc4')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np0 -i "${srcdir}/bmp-wma-gcc4.patch" || return 1
+ patch -Np0 -i "${srcdir}/bmp-wma-gcc4.patch"
if [ "${CARCH}" = "x86_64" ]; then
export CFLAGS="${CFLAGS} -fPIC"
fi
- ./configure --prefix=/usr --disable-static || return 1
+ ./configure --prefix=/usr --disable-static
echo '#define HAVE_LRINTF 1' >> config.h
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ make
}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list