summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0399895e339fa946563d7541ec650f8a3e3642c9 (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
# Maintainer: Solomon Choina <shlomochoina@gmail.com>
pkgname=gxine-hg
pkgver=r2489.d96baecd1c34
pkgrel=2
pkgdesc="GTK-based front end for xine"
arch=('x86_64')
url="https://www.xine-project.org"
license=('GPL')
depends=('xine-lib' 'gtk3')
makedepends=('mercurial')
options=()
source=('hg+http://hg.code.sf.net/p/xine/gxine')
sha256sums=('SKIP')

pkgver() {
	cd "$srcdir/gxine"

	printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"

}

build() {
	cd "$srcdir/gxine"
	./autogen.sh
	./configure --prefix=/usr --sysconfdir=/etc --with-xcb --with-x --with-gtk3 --with-gudev
	make
}

check() {
	cd "$srcdir/gxine"
	make -k check
}

package() {
	cd "$srcdir/gxine"
	make DESTDIR="$pkgdir/" install
}