summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 785a80d12be3ae56aba8ae2c2654a56efbd45569 (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
# Maintainer: Simon Doppler (dopsi) <dop.simon@gmail.com>
pkgname=console-tdm-git
pkgver=r2.1a7788c
pkgrel=1
epoch=1
pkgdesc='Console display manager based on CDM'
arch=('any')
url='http://github.com/dopsi/console-tdm'
license=('GPL')
provides=('console-tdm')
conflicts=('console-tdm')
depends=('xorg-xinit')
optdepends=('dialog: for curses UI')
source=('git://github.com/dopsi/console-tdm')
sha1sums=('SKIP')

_gitname=console-tdm

pkgver() {
    cd $_gitname
    printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "$_gitname"
    make DESTDIR="$pkgdir" PREFIX="/usr" install
}

# vim:ts=4:sw=4:expandtab