summaryrefslogtreecommitdiff
path: root/community/cairo-clock/PKGBUILD
blob: 31900493c7ca3b22814d2420be11492612429a5c (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
# $Id: PKGBUILD 32901 2010-11-18 18:13:30Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Kane Wilson <kane_wilson@hotmail.com>

pkgname=cairo-clock
pkgver=0.3.4
pkgrel=1
pkgdesc="It's an analog clock displaying the system-time."
arch=('i686' 'x86_64' 'mips64el')
url='http://macslow.thepimp.net/?page_id=23'
license=('GPL')
depends=('cairo' 'libglade>=2.6.0' 'librsvg>=2.14.0')
makedepends=('intltool')
source=("http://macslow.thepimp.net/projects/cairo-clock/${pkgname}-${pkgver}.tar.gz"
        cairo-clock.patch)
md5sums=('78e5b3aa3492aa6c182eaacae63a7c03'
         'a2ec378bf79dfb9a1b1418d7b2d341ff')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  patch -Np0 -i ../cairo-clock.patch

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make prefix="${pkgdir}/usr" install
}