diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2020-04-23 01:06:05 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2020-04-24 04:32:22 -0400 |
commit | 69f0e4720d2168ba4fd398f43465a7c7f802c159 (patch) | |
tree | 833a82b7d2d2aee31125d9d06759b5782ef63094 /pcr/gconfmm/PKGBUILD | |
parent | 0f3427fb192c71fdf63338160d8b795daa110e6c (diff) | |
download | abslibre-69f0e4720d2168ba4fd398f43465a7c7f802c159.tar.gz abslibre-69f0e4720d2168ba4fd398f43465a7c7f802c159.tar.bz2 abslibre-69f0e4720d2168ba4fd398f43465a7c7f802c159.zip |
[gninjam][gconfmm][gconf-gtk2]: add packages
Diffstat (limited to 'pcr/gconfmm/PKGBUILD')
-rw-r--r-- | pcr/gconfmm/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pcr/gconfmm/PKGBUILD b/pcr/gconfmm/PKGBUILD new file mode 100644 index 000000000..257afebab --- /dev/null +++ b/pcr/gconfmm/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: bill-auger <bill-auger@programmer.net> +# Maintainer (AUR): Andrew Sun <adsun701 at gmail dot com> +# Contributor (AUR): Jan de Groot <jgc@archlinux.org> +# Contributor (AUR): Kritoke <typeolinux@yahoo.com> + + +pkgbase=gconfmm +pkgname=('gconfmm' 'gconfmm-docs') +pkgver=2.28.3 +pkgrel=6 +arch=(i686 x86_64) # archarm carries this package +url="http://gconfmm.sourceforge.net/" +license=('LGPL') +makedepends=('pkgconfig' 'gtkmm' 'glibmm-docs' 'gconf' 'glibmm') +source=(https://download.gnome.org/sources/${pkgname}/2.28/${pkgname}-${pkgver}.tar.xz) +sha256sums=('d7bd2d29c1a87b85329547fb29a0eca52d944e60699982152775002e24c09228') + +build() { + cd "${srcdir}/${pkgbase}-${pkgver}" + CXXFLAGS+=' -std=c++11' + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var + make +} + +package_gconfmm() { + pkgdesc="C++ bindings for GConf" + depends=('gconf' 'glibmm') + + cd "${srcdir}/${pkgbase}-${pkgver}" + sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile + make DESTDIR="${pkgdir}" install +} + +package_gconfmm-docs() { + pkgdesc="Developer documentation for gconfmm" + + cd "${srcdir}/${pkgbase}-${pkgver}/docs" + make DESTDIR="${pkgdir}" install +} |