summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: daf775ec536f281da7824ea4fb963996c784f068 (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
34
35
36
37
38
39
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Daniel Krueger <keenbug gmail.com>
# Contributor: Daniel Oliveira <psykond@gmail.com>
pkgname=guile-gnome-platform-git
_pkgname=guile-gnome-platform
pkgver=2.16.4.r0.g646ced9
pkgrel=1
epoch=1
pkgdesc="Binding between Guile Scheme and the Gnome stack of libraries. (fe. Pango, GTK+, Cairo, GStreamer, Glade, GtkSourceView and else). To build wrappers for GTK+ and higher in the stack, you will first need Guile-Cairo."
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/guile-gnome/"
license=('GPL2')
depends=('g-wrap' 'guile-cairo' 'libgnomeui')
provides=($_pkgname)
conflicts=($_pkgname)
makedepends=('git')
options=(!libtool)
source=("$_pkgname::git://git.sv.gnu.org/guile-gnome.git")
md5sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --long --tags | sed -E 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,-,.,g'
}

prepare() {
  cd $_pkgname
  ./autogen.sh --prefix=/usr
}

build() {
  cd $_pkgname
  ./configure --prefix=/usr
  make
}
package() {	
  cd $_pkgname
  make DESTDIR="$pkgdir/" install
}