summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5cb7857fda74ff335520bc12aea0bad1345e9e71 (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
40
# Maintainer: Andrew Whatson <whatson@gmail.com>
# 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.5.r0.gf775d62
pkgrel=2
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")
sha256sums=('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
  GUILE=/usr/bin/guile ./configure --prefix=/usr
  make
}
package() {	
  cd $_pkgname
  make DESTDIR="$pkgdir/" install
}