desktop/audex/PKGBUILD

42 lines
883 B
Bash
Raw Normal View History

pkgname=audex
2018-10-20 12:47:36 +08:00
pkgver=0.79+84+g25d4ca1
pkgrel=1
pkgdesc="A CDDA extraction tool with a ftp upload function for KDE"
2013-01-25 02:47:46 +08:00
arch=('x86_64')
2018-10-20 12:47:36 +08:00
url="http://kde-apps.org/content/show.php?content=77125"
license=('GPL')
2018-10-20 12:47:36 +08:00
depends=('libkcddb' 'hicolor-icon-theme' 'kcmutils')
makedepends=('extra-cmake-modules' 'git')
optdepends=('vorbis-tools: OGG encoder'
'faac: MP4/M4A/AAC encoder'
'flac: FLAC encoder'
'lame: MP3 encoder')
_commit=596f6c7ca41e3953e721bc00b321c6ae9ce3e8b3 #master
source=("git://git.kde.org/audex.git#commit=$_commit")
2018-10-20 12:47:36 +08:00
md5sums=('SKIP')
2018-10-20 12:47:36 +08:00
pkgver() {
cd $pkgname
git describe --tags | sed -e 's/-/+/g' -e 's/v//'
}
2015-03-07 05:36:56 +08:00
2018-10-20 12:47:36 +08:00
prepare() {
cd $pkgname
mkdir build
2018-10-20 12:47:36 +08:00
}
build() {
2018-10-20 12:50:48 +08:00
cd $pkgname/build
2011-01-22 04:58:11 +08:00
2015-03-07 05:36:56 +08:00
cmake .. \
2011-01-22 04:58:11 +08:00
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
2018-10-20 12:47:36 +08:00
cd $pkgname/build
2011-01-22 04:58:11 +08:00
2015-03-07 05:36:56 +08:00
make DESTDIR=$pkgdir install
}