blob: 5b953cb3a9e8184dcadcf7ff38793c943906fed7 (
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
|
# Maintainer: Lukas Sabota <lukas at lwsabota dot com>
# Contributor: Malte Deiseroth <mdeiseroth88 at gmail dot com>
pkgname=kodi-addon-vfs-rar
pkgbase=${pkgname}
_gitname=vfs.rar
pkgver=2.3.1
_kodiver=Leia
pkgrel=1
pkgdesc="Rar Addon for Kodi $_kodiver"
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/xbmc/$_gitname"
license=('GPL')
groups=('kodi-addons')
makedepends=('cmake' 'kodi-platform' 'git' 'kodi-dev>=18.0')
depends=('kodi' 'p8-platform')
source=("https://github.com/xbmc/vfs.rar/archive/${pkgver}-${_kodiver}.zip")
md5sums=('4f8015cc32c1449c3e25c2bcc4454fa3')
_prefix='/usr'
build() {
msg "Starting make..."
cd "$srcdir/$_gitname-$pkgver-$_kodiver"
mkdir -p build && pushd build
cmake \
-DCMAKE_INSTALL_PREFIX=$_prefix \
-DCMAKE_BUILD_TYPE=Release \
..
make
popd
}
package() {
cd "$srcdir/$_gitname-$pkgver-$_kodiver/build"
make DESTDIR="$pkgdir" install
}
|