diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-05-30 11:55:09 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-05-30 11:55:09 +0200 |
commit | b0fdec08ea3b6e162b710ca98b0dd56f9ae105eb (patch) | |
tree | 376cc5751d9a587815d7270caa61070f38832766 /pcr/bamf2/PKGBUILD | |
parent | 8abbf69cf497489fb7a0ac3538cb6975285486b7 (diff) | |
parent | 76ee9007095484a113d1856786b81e2d2fae8202 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/apcupsd/PKGBUILD
community/bmp-musepack/PKGBUILD
community/bmp-wma/PKGBUILD
community/bonnie++/PKGBUILD
community/cantata/PKGBUILD
community/checkinstall/PKGBUILD
community/chrootuid/PKGBUILD
community/compiz-bcop/PKGBUILD
community/compiz-fusion-plugins-extra/PKGBUILD
community/compiz-fusion-plugins-main/PKGBUILD
community/compiz/PKGBUILD
community/compizconfig-backend-gconf/PKGBUILD
community/compizconfig-python/PKGBUILD
community/ekg2/PKGBUILD
community/emerald/PKGBUILD
community/fbgetty/PKGBUILD
community/flumotion/PKGBUILD
community/leafnode/PKGBUILD
community/libcompizconfig/PKGBUILD
community/libdnet/PKGBUILD
community/libee/PKGBUILD
community/libtxc_dxtn/PKGBUILD
community/linux-tools/PKGBUILD
community/openntpd/PKGBUILD
community/osiris/PKGBUILD
community/perl-package-stash-xs/PKGBUILD
community/perl-params-util/PKGBUILD
community/procstatd/PKGBUILD
community/scponly/PKGBUILD
community/sniffit/PKGBUILD
community/synergy/PKGBUILD
community/turbojpeg/PKGBUILD
community/unbound/PKGBUILD
community/uucp/PKGBUILD
core/gawk/PKGBUILD
core/ifenslave/PKGBUILD
core/jfsutils/PKGBUILD
core/openldap/PKGBUILD
core/rfkill/PKGBUILD
core/systemd/PKGBUILD
core/wireless_tools/PKGBUILD
core/xinetd/PKGBUILD
extra/avahi/PKGBUILD
extra/calligra/PKGBUILD
extra/clutter-gst/PKGBUILD
extra/flac/PKGBUILD
extra/hddtemp/PKGBUILD
extra/libbluray/PKGBUILD
extra/libdmx/PKGBUILD
extra/libfs/PKGBUILD
extra/libjpeg-turbo/PKGBUILD
extra/libtiff/PKGBUILD
extra/libxau/PKGBUILD
extra/libxfixes/PKGBUILD
extra/licq/PKGBUILD
extra/mariadb/PKGBUILD
extra/mesa/PKGBUILD
extra/perl-guard/PKGBUILD
extra/perl-template-toolkit/PKGBUILD
extra/pidgin/PKGBUILD
extra/pigeonhole/PKGBUILD
extra/poppler/PKGBUILD
extra/postgresql/PKGBUILD
extra/python-geoip/PKGBUILD
extra/python/PKGBUILD
extra/samba/PKGBUILD
extra/sqlite/PKGBUILD
extra/vde2/PKGBUILD
extra/vim/PKGBUILD
extra/vlc/PKGBUILD
extra/wireshark/PKGBUILD
extra/xfce4-dict/PKGBUILD
libre/libquicktime-libre/PKGBUILD
libre/xscreensaver-libre/PKGBUILD
Diffstat (limited to 'pcr/bamf2/PKGBUILD')
-rw-r--r-- | pcr/bamf2/PKGBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/pcr/bamf2/PKGBUILD b/pcr/bamf2/PKGBUILD new file mode 100644 index 000000000..681d3da7e --- /dev/null +++ b/pcr/bamf2/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: Ivan de Jesús Pompa García <ivan.pompa@gmx.com> +# Contributors: niQo ??? + +pkgname=bamf2 +_dname=bamf +pkgver=0.2.126 +pkgrel=2 +pkgdesc="Removes the headache of applications matching into a simple DBus daemon and c wrapper library, 0.2 branch" +arch=('i686' 'x86_64') +url="https://launchpad.net/bamf" +license=('GPL') +depends=('dbus-glib' 'libwnck3' 'libgtop') +makedepends=('libwnck' 'vala') +optdepends=('gtk2: GTK+ 2 library') +options=(!libtool) +source=(http://launchpad.net/${_dname}/0.2/${pkgver}/+download/${_dname}-${pkgver}.tar.gz) +md5sums=('709735137e4b028bb94f9e106bb9ac6e') + +conflicts=('bamf') +provides=('bamf') + +build() { + cd "$srcdir/${_dname}-${pkgver}" + + # Disable building tests + sed -i '/tests/ d' Makefile.in + + sed -i -e 's/--c-include/--include/' lib/libbamf/Makefile.in + export CFLAGS="$CFLAGS -Wno-deprecated-declarations -Wno-unused-local-typedefs" + + [[ -d build-gtk3 ]] || mkdir build-gtk3 + pushd build-gtk3 + ../configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/${_dname} \ + --disable-static + make + popd + + [[ -d build-gtk2 ]] || mkdir build-gtk2 + pushd build-gtk2 + ../configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/${_dname} \ + --disable-static --with-gtk=2 + make -C lib/libbamf + popd +} + +package() { + cd "$srcdir/${_dname}-${pkgver}/build-gtk3" + make DESTDIR="${pkgdir}/" install + + cd "$srcdir/${_dname}-${pkgver}/build-gtk2" + make -C lib/libbamf DESTDIR="${pkgdir}" install +} |