diff options
Diffstat (limited to 'community/soundkonverter/PKGBUILD')
-rw-r--r-- | community/soundkonverter/PKGBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
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 <eric@archlinux.org> # Maintainer: Mateusz Herych <heniekk@gmail.com> # Contributor: Darwin Bautista <djclue917@gmail.com> 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 } |