From e13fbaf2cbb72b7e8c8278ea94b70dd4a8ce48b2 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 29 Aug 2011 23:14:40 +0000 Subject: Mon Aug 29 23:14:40 UTC 2011 --- community/soundkonverter/PKGBUILD | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'community/soundkonverter/PKGBUILD') diff --git a/community/soundkonverter/PKGBUILD b/community/soundkonverter/PKGBUILD index 9c57ef810..16126aa59 100644 --- a/community/soundkonverter/PKGBUILD +++ b/community/soundkonverter/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 35231 2010-12-17 20:25:58Z mherych $ +# $Id: PKGBUILD 54953 2011-08-28 23:34:04Z andrea $ # Maintainer: Eric Belanger # Maintainer: Mateusz Herych # Contributor: Darwin Bautista pkgname=soundkonverter -pkgver=0.9.94rc2 +pkgver=1.0.0 pkgrel=1 pkgdesc="Front-end to various audio converters" arch=('i686' 'x86_64') @@ -25,17 +25,20 @@ optdepends=('cdrkit: cdda2wav backend' ) options=('libtool') install=$pkgname.install -source=(https://api.opensuse.org/public/source/home:HessiJames/soundkonverter/soundkonverter-$pkgver.tar.gz) -md5sums=('5cc2442b26282f18ce51379dc4429f32') - +source=("https://api.opensuse.org/public/source/home:HessiJames/${pkgname}/"${pkgname}-"${pkgver}.tar.gz") +md5sums=('fc8bab43a27c53e651907489f5ce5032') build() { - cd $srcdir/$pkgname-$pkgver - cmake . -DCMAKE_INSTALL_PREFIX=/usr + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release make } package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install } -- cgit v1.2.3-54-g00ecf