upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / kodi-audioencoder-flac / trunk / PKGBUILD
blob3525c58d7c25a1072b54f500c7b05840d7bd28eb
1 # Maintainer: BlackEagle <ike.devolder@gmail.com>>
3 pkgname=kodi-audioencoder-flac
4 _commit=176288b
5 pkgver=20160219.176288b
6 pkgrel=1
7 pkgdesc="kodi audioencoder addon for flac"
8 arch=('x86_64')
9 url='https://github.com/xbmc/audioencoder.flac'
10 license=('GPL')
11 groups=('kodi-addons')
12 depends=('kodi')
13 makedepends=('git' 'cmake')
14 source=("$pkgname::git://github.com/xbmc/audioencoder.flac.git#commit=$_commit")
15 sha256sums=('SKIP')
17 pkgver() {
18         cd "$pkgname"
19         git log -1 --date=short --format="%cd.%h" | tr -d '-'
22 build() {
23         cd "$pkgname"
24         cmake \
25                 -DCMAKE_INSTALL_PREFIX=/usr \
26                 -DCMAKE_BUILD_TYPE=Release \
27                 -DBUILD_SHARED_LIBS=1 \
28                 -DUSE_LTO=1
29         make
32 package() {
33         cd "$pkgname"
34         make DESTDIR="$pkgdir/" install