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

pkgname=tinywm-git
pkgver=1.1.33.g9d05612
pkgrel=3
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')
source=('git+https://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

}