summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7967c2a320e631fe2ec2bc88b221233f71e66033 (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
# Maintainer: Emilien Devos (unixfox) <contact@emiliendevos.be>

pkgname=green-recorder-git
pkgver=1.1.r6.g43d5317
pkgrel=1
pkgdesc='A simple yet functional desktop recorder for Linux systems.'
arch=('i686' 'x86_64')
license=('GPL3')
url="https://github.com/green-project/${pkgname%-git}"
depends=('python2' 'libappindicator-gtk3' 'python2-gobject' 'gtk3' 'ffmpeg' 'gawk' 'python2-urllib3' 'python2-pydbus' 'xorg-xdpyinfo' )
options=('!emptydirs')
source=("git://github.com/green-project/${pkgname%-git}.git")
sha1sums=('SKIP')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")

pkgver() {
	cd "${pkgname%-git}"
	git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
	cd "$srcdir/${pkgname%-git}"
        python2 setup.py install --root="$pkgdir/" --optimize=1
}