# Maintainer: Head_on_a_Stick 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" }