blob: 34324d7e2be171de51831e90a4285659c89b41fe (
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
32
33
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname=cairo-clock
pkgver=0.3.4
pkgrel=4
pkgdesc='An analog clock displaying the system-time'
arch=('i686' 'x86_64')
url='https://macslow.org'
license=('GPL')
depends=('libglade' 'librsvg')
makedepends=('intltool')
source=("http://ftp.de.debian.org/debian/pool/main/c/cairo-clock/${pkgname}_${pkgver}.orig.tar.gz"
'cairo-clock.patch')
md5sums=('78e5b3aa3492aa6c182eaacae63a7c03'
'a2ec378bf79dfb9a1b1418d7b2d341ff')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np0 -i ../cairo-clock.patch
# quick and dirty build fix, a proper patch was submitted upstream and is
# pending approval
sed -ie 's/-Wl, --export-dynamic/-Wl,--export-dynamic/g' src/Makefile*
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make prefix="${pkgdir}/usr" install
}
|