summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d651038573313226ca2da2a341aad7589fb6f9d8 (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: Jan Mertens <Jan.JM.Mertens at gmail dot com>

pkgname=aclock
pkgver=14.10756e3
pkgrel=3
pkgdesc="Analog clock written in GTK3."
arch=('i686' 'x86_64')
url="http://github.com/mertensj/aclock"
license=('GPL')
depends=('gtk3')
source=("git+https://git@github.com/mertensj/aclock.git")
md5sums=("SKIP")

_gitname="aclock"

pkgver() {
  cd "$srcdir/${_gitname}"
  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build() {
  cd "$srcdir/$_gitname/src"
  make
}

package() {
  cd "$srcdir/$_gitname/src"
  install -Dm 755 $_gitname "$pkgdir/usr/bin/$_gitname"
}