forked from rixx/pkgbuilds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
49 lines (39 loc) · 1.3 KB
/
PKGBUILD
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
45
46
47
48
49
# Maintainer: Tobias Kunze <r@rixx.de>
# Maintained at https://github.com/rixx/pkgbuilds, feel free to submit patches
pkgname=augenkrebs-git
pkgver=v0.3.r0.g7d54496
pkgrel=1
pkgdesc="Control VLC playback via a web interface. Internetabspielgerät @shackspace."
arch=('any')
url="http://github.com/shackspace/augenkrebs/"
license=('MIT')
groups=()
depends=('python' 'python-flask' 'vlc' 'ttf-freefont' 'chromium')
makedepends=('git')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install='augenkrebs.install'
source=("$pkgname"::'git://github.com/shackspace/augenkrebs.git')
noextract=()
md5sums=('SKIP') #generate with 'makepkg -g'
_gitroot='http://github.com/shackspace/augenkrebs.git'
_gitname='augenkrebs'
pkgver() {
cd "$srcdir/$pkgname"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/$pkgname"
mkdir -p ${pkgdir}/usr/lib/
cp -r augenkrebs "$pkgdir"/usr/lib/
chmod -R a+rX "$pkgdir"/usr/lib/augenkrebs
install -Dm644 install/augenkrebs.service "$pkgdir"/usr/lib/systemd/system/augenkrebs.service
mkdir -p ${pkgdir}/usr/bin
chmod +x ${pkgdir}/usr/lib/augenkrebs/augenkrebs.py
ln -s /usr/lib/augenkrebs/augenkrebs.py ${pkgdir}/usr/bin/augenkrebs
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et: