summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e022a4e02f549d1be3e85008ffaa5d54668745c7 (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
# 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=v311.r4.gd8a469d4
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-cairo' 'libwnck3' 'python-xdg' 'python-gobject')
makedepends=('intltool')
optdepends=('gnome-python-desktop: enables all plugins and gnome integration'
            'xautomation: enables the Send Keys plugin'
	    'gvfs: enables the Trash plugin')
makedepends=('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"

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

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