summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 574b878508a822517767331fd9da9d83cefb2224 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Maintainer: Jan Neumann <neum dot ja at gmail dot com>


pkgname=audex-git
_gitname=audex
pkgver=r141.4cfc19f
pkgrel=1
pkgdesc='Audex is an audio grabber tool for CD-ROM drives built with KDE Frameworks'
arch=('i686' 'x86_64')
url='https://cgit.kde.org/audex.git/'
license=('GPL')
depends=('libkcddb' 'kcmutils' 'hicolor-icon-theme')
optdepends=('libvorbis' 'flac' 'lame' 'faac' 'python-eyed3')
makedepends=('git' 'ruby' 'subversion' 'cmake' 'extra-cmake-modules')
conflicts=('audex')
source=("git+git://anongit.kde.org/audex.git")
sha256sums=('SKIP')

pkgver() {
   cd ${_gitname}

   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

}

build() {
   cd ${_gitname}
  
   mkdir build && cd build

  
   cmake .. \
         -DCMAKE_INSTALL_PREFIX=/usr \
         -DKDE_L10N_BRANCH=trunk \
         -DKDE_L10N_AUTO_TRANSLATIONS=OFF \
         -DCMAKE_BUILD_TYPE=Release
   make fetch-translations

}

package() {
  make -C ${_gitname}/build DESTDIR=${pkgdir} install

}