blob: 4bd916b48a0f1e696ebc8224c0ce39f006b7548a (
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
|
# Maintainer: tyusha <htovver@gmail.com>
pkgname='kodi-openbox-git'
pkgver=r49.f52d176
pkgrel=1
pkgdesc="An xsession that runs Kodi media center on top of an Openbox session"
arch=('any')
url="https://github.com/lufinkey/kodi-openbox"
license=('unknown')
depends=('bash' 'openbox' 'kodi')
makedepends=('git')
source=("${pkgname}::git+https://github.com/lufinkey/kodi-openbox.git")
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$pkgname"
install -Dm755 "./kodi-openbox/usr/bin/kodi-openbox-runprogram" "$pkgdir/usr/bin/kodi-openbox-runprogram"
install -Dm755 "./kodi-openbox/usr/bin/kodi-openbox-runprogram.real" "$pkgdir/usr/bin/kodi-openbox-runprogram.real"
install -Dm755 "./kodi-openbox/usr/bin/kodi-openbox-session" "$pkgdir/usr/bin/kodi-openbox-session"
install -Dm644 "./kodi-openbox/usr/share/xsessions/kodi-openbox.desktop" "$pkgdir/usr/share/xsessions/kodi-openbox.desktop"
}
|