summaryrefslogtreecommitdiffstats
path: root/main/acf-vlc-daemon/APKBUILD
blob: 9035f6b7f399d21cd78b667687d18c1488ad2b4e (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
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer:
pkgname=acf-vlc-daemon
pkgver=0.2.1
pkgrel=0
pkgdesc="A web-based system administration interface for vlc"
url="http://git.alpinelinux.org/cgit/acf-vlc-daemon"
arch="noarch"
license="GPL-2"
depends="acf-core lua vlc-daemon"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="http://git.alpinelinux.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

package() {
	cd "$_builddir"
}

md5sums="6e937ed4ead22798534b6d71e7fbdc7a  acf-vlc-daemon-0.2.1.tar.bz2"