summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6705cd5e31946ec9c5c14b3ab92836f6b86a0802 (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
# Contributor: Mateusz Łukasik <mati75@linuxmint.pl>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=tinywm-git
pkgver=1.1.33.g9d05612
pkgrel=1
pkgdesc="A tiny window manager written in only ~50 lines of code"
arch=('i686' 'x86_64')
url="http://incise.org/tinywm.html"
license=('custom')
makedepends=('git')
provides=('tinywm')
conflicts=('tinywm')
depends=('libx11')
optdepends=('python-xlib: for python version (uncomment last line of 
PKGBUILD)')
source=('git://github.com/mackstann/tinywm.git')
md5sums=('SKIP')
_gitname="tinywm"

pkgver() {
  cd "$_gitname"
  printf %s $(git describe --tags|tr - .)
}


build() {
  cd "$_gitname"
  
  make
}

package() {
  cd "$_gitname"
  install -D -m755 tinywm $pkgdir/usr/bin/tinywm
  install -D -m644 README $pkgdir/usr/share/licenses/$pkgname/LICENSE
  #install -D -m755 tinywm.py $pkgdir/usr/bin/tinywm.py
}