desktop/kaudiocreator/PKGBUILD

37 lines
851 B
Bash
Raw Normal View History

2011-06-07 21:46:29 +08:00
pkgname=kaudiocreator
pkgver=3.92.0+301+gfaf2072
pkgrel=1
2011-06-07 21:46:29 +08:00
pkgdesc="A program for ripping and encoding Audio-CDs, encoding files from disk"
2017-11-02 21:46:22 +08:00
arch=('x86_64')
url="https://www.kde.org/applications/multimedia/kaudiocreator/"
2011-06-07 21:46:29 +08:00
license=('GPL')
depends=('audiocd-kio' 'taglib' 'libdiscid' 'kcmutils' 'knotifyconfig' 'hicolor-icon-theme')
makedepends=('extra-cmake-modules' 'git' 'kdesignerplugin' 'kdoctools')
_commit=faf2072f18a1b699ddb6d3bc7d58f522f0914a38 # master
source=("git://git.kde.org/kaudiocreator.git#commit=$_commit")
md5sums=('SKIP')
2011-06-07 21:46:29 +08:00
pkgver() {
cd $pkgname
git describe --tags | sed -e 's/-/+/g' -e 's/v//'
}
prepare() {
2011-06-07 21:46:29 +08:00
mkdir build
}
build() {
2011-06-07 21:46:29 +08:00
cd build
cmake ../$pkgname \
2011-06-07 21:46:29 +08:00
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTING=OFF
2011-06-07 21:46:29 +08:00
make
}
package() {
cd build
make DESTDIR=$pkgdir install
2017-11-02 21:46:22 +08:00
}