summaryrefslogtreecommitdiff
path: root/community/soundkonverter
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-29 23:14:40 +0000
committerroot <root@rshg054.dnsready.net>2011-08-29 23:14:40 +0000
commite13fbaf2cbb72b7e8c8278ea94b70dd4a8ce48b2 (patch)
tree570e875c44f8d4d5ca7813d745f3ab5674fd3d4f /community/soundkonverter
parent57fc7b041fcd8bc73a40cd31d3b80bed779e79fe (diff)
Mon Aug 29 23:14:40 UTC 2011
Diffstat (limited to 'community/soundkonverter')
-rw-r--r--community/soundkonverter/PKGBUILD21
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
}