upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / kodi-audioencoder-vorbis / trunk / PKGBUILD
blob6319c4b5b5c87de5887138d3b98db35d92972ede
1 # Maintainer: BlackEagle <ike.devolder@gmail.com>>
3 pkgname=kodi-audioencoder-vorbis
4 _commit=47a0676
5 pkgver=20160219.47a0676
6 pkgrel=1
7 pkgdesc="kodi audioencoder addon for ogg/vorbis"
8 arch=('x86_64')
9 url='https://github.com/xbmc/audioencoder.vorbis'
10 license=('GPL')
11 groups=('kodi-addons')
12 depends=('kodi')
13 makedepends=('git' 'cmake')
14 source=("$pkgname::git://github.com/xbmc/audioencoder.vorbis.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