summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a75cf8ef31a9f09311a30c9ad620dd454ae4865c (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
# Maintainer: Head_on_a_Stick <matthew.t.hoare at gmail dot com>

pkgname=catclock-git
_pkgname=catclock
pkgdesc="X clock, with cat mode"
pkgver=r15.2d55f69
pkgrel=1
arch=(x86_64)
url='https://github.com/BarkyTheDog/catclock'
license=('custom')
depends=('libx11' 'libxmu' 'libxaw' 'libxrender' 'libxft' 'libxkbfile' 'openmotif')
makedepends=('xorg-util-macros' 'git')
conflicts=('xorg-xclock')
provides=('xorg-xclock')
source=('catclock::git+http://github.com/BarkyTheDog/catclock#branch=master')
md5sums=('SKIP')

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

build() {
    cd "$srcdir/$_pkgname"
    make
}

package() {
    cd "$srcdir/$_pkgname"
    install -D -m 755 xclock "$pkgdir/usr/bin/xclock"
}