summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 955b6a4c27a3ce08df73fe3076f128a37040f7c3 (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
# Maintainer: M Rawash <mrawash@gmail.com>
pkgname=notion-git
pkgver=3.2015061300.r55.3ae6b5f7
pkgrel=1
pkgdesc='Tabbed tiling, window manager. Fork of Ion3 - git version'
arch=('i686' 'x86_64')
url='http://notion.sourceforge.net/'
license=('custom:LGPL')
depends=('glib2' 'lua' 'libxext' 'libsm' 'gettext')
optdepends=('libxinerama' 'libxrandr')
makedepends=('git')
provides=('libtu' 'libextl' 'notion')
conflicts=('notion')
#backup=()
#options=()
#install=
source=('notion::git+https://github.com/raboof/notion.git')
md5sums=('SKIP')

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

build() {
	cd "$srcdir/notion"
	export PREFIX=/usr
    export ETCDIR=/etc/notion
    make
}

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