summaryrefslogtreecommitdiff
path: root/testing/atkmm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/atkmm/PKGBUILD')
-rw-r--r--testing/atkmm/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/atkmm/PKGBUILD b/testing/atkmm/PKGBUILD
new file mode 100644
index 000000000..8c519045e
--- /dev/null
+++ b/testing/atkmm/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 79583 2010-05-04 15:21:15Z ibiru $
+# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
+
+pkgbase=atkmm
+pkgname=(atkmm atkmm-docs)
+pkgver=2.22.4
+pkgrel=1
+arch=('i686' 'x86_64')
+makedepends=('atk' 'glibmm' 'glibmm-docs' 'libsigc++')
+license=('LGPL')
+options=('!libtool' '!emptydirs')
+url="http://gtkmm.sourceforge.net/"
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgbase}/2.22/${pkgbase}-${pkgver}.tar.bz2)
+sha256sums=('c47ac8866fd0be695b6ba54a7cda5ab94676295ec5b2c22bd159bb8212aca438')
+
+build() {
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package_atkmm() {
+ pkgdesc="C++ bindings for atk"
+ depends=('atk' 'glibmm' 'libsigc++')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
+ make DESTDIR="${pkgdir}" install
+}
+
+package_atkmm-docs() {
+ pkgdesc="Developer documentation for atkmm"
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ make -C doc DESTDIR="${pkgdir}" install
+}