summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 777428b5f2d56389290be6d0b6e54bbc1c2465b7 (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
39
40
41
42
43
44
45
# Maintainer: Freonmonkey <freonmonkey at gmail dot com>
#
# This project provides a stub libhal that uses UDisks and meets the needs
# for playing Flash DRM content without a full HAL installation and daemon.

pkgname=hal-flash
pkgver=0.3.0
pkgrel=1
pkgdesc="A libhal stub library forwarding to UDisks2 for flash to play DRM content"
arch=('i686' 'x86_64')
url="https://github.com/cshorler/hal-flash"
license=('GPL2') 
groups=()
depends=('udisks2' 'dbus')
makedepends=('autoconf>=2.60' 'pkgconfig' 'git')
provides=('hal=0.5.15')
conflicts=('hal')
source=("https://github.com/cshorler/hal-flash/archive/v0.3.0.tar.gz")
md5sums=('034943dde1c3e18266e396c7552542b4')

prepare() {
	mv "$srcdir/$pkgname-$pkgver" "$srcdir/$pkgname"

	cd "$srcdir/$pkgname"

	msg2 "Running autoreconf..."
	autoreconf -i
	msg2 "Running configure..."
	./configure --prefix=/usr --enable-static=no

}

build() {
	cd "$srcdir/$pkgname"
	make
}

package() {
	# Install built files into the package
	cd "$srcdir/$pkgname"
	make PREFIX=/usr DESTDIR="${pkgdir}" install
	
	# Skip copying COPYING to LICENSE since it's just GPL2
}