summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c122484d0cea72b618bedb54ceb7eb6c31c41b9c (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
# Contributor: SpepS <dreamspepser at yahoo dot it>
# Contributor: D. Can Celasun <dcelasun[at]gmail[dot]com>
# Maintainer:  SanskritFritz (gmail)

_name=kupfer
pkgname=$_name-git
pkgver=v302.r11.gd8419c31
pkgrel=1
pkgdesc="An interface for quick and convenient access to applications and their documents."
arch=(any)
url="https://kupferlauncher.github.io/"
license=('GPL')
depends=('libkeybinder3' 'python-dbus' 'python' 'python-cairo' 'libwnck3')
makedepends=('intltool')
optdepends=('gnome-python-desktop: enables all plugins and gnome integration'
            'xautomation: enables the Send Keys plugin')
makedepends=('python2' 'intltool' 'git')
provides=("$_name")
conflicts=("$_name")
source=("git+https://github.com/kupferlauncher/kupfer.git")
md5sums=('SKIP')

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

build() {
	cd "$srcdir/$_name"

	# fix man page generation
	#sed -i 's_rst2man_&2_Ig' wscript

	#export PYTHON=/usr/bin/python

	python waf configure --prefix=/usr --no-update-mime --no-update-icon-cache
	python waf
} 

package() {
	cd "$srcdir/$_name"
	python waf install -f --destdir="$pkgdir/"
}