summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d5931e038deab0491aafaf006a4db615f1508835 (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
# Maintainer: Llewelyn Trahaearn <woefulderelict [at] gmail [dot] com>
# Contributor: Jan de Groot <jgc [at] archlinux [dot] org>
# Contributor: Kritoke <typeolinux [at] yahoo [dot] com>

pkgname=libgnomecanvasmm
pkgver=2.26.0
pkgrel=4
pkgdesc="A C++ wrapper for libgnomecanvas."
arch=('i686' 'x86_64')
license=('LGPL')
depends=('gtkmm' 'libgnomecanvas')
makedepends=('pkgconfig')
url="http://www.gtkmm.org/"
source=("https://download.gnome.org/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2")
md5sums=('a148c99311d46397de6e4a31736771ab')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  CXXFLAGS+=' -std=c++11'
  ./configure --prefix=/usr --sysconfdir=/etc \
              --localstatedir=/var
  make
}

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