summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 63ea0277739fcf559d078f7a19e7f259126fda2f (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=2
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+https://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