diff options
author | Maxime Gauduin | 2016-02-03 19:05:46 +0100 |
---|---|---|
committer | Maxime Gauduin | 2016-02-03 19:05:46 +0100 |
commit | 98302583566b2abdf573a2bbde061b3a2f600566 (patch) | |
tree | 32258120793f254ceee423660f27e35bea34831b | |
download | aur-98302583566b2abdf573a2bbde061b3a2f600566.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | PKGBUILD | 46 |
2 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..827539fd81cc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +# Generated by mksrcinfo v8 +# Wed Feb 3 18:05:46 UTC 2016 +pkgbase = libdbusmenu + pkgdesc = A library for passing menus over DBus + pkgver = 12.10.2 + pkgrel = 4 + url = https://launchpad.net/libdbusmenu + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = gnome-doc-utils + makedepends = gobject-introspection + makedepends = gtk3 + makedepends = intltool + makedepends = vala + options = !emptydirs + source = http://launchpad.net/dbusmenu/12.10/12.10.2/+download/libdbusmenu-12.10.2.tar.gz + sha256sums = 9d6ad4a0b918b342ad2ee9230cce8a095eb601cb0cee6ddc1122d0481f9d04c9 + +pkgname = libdbusmenu-glib + depends = glib2 + +pkgname = libdbusmenu-gtk3 + depends = gtk3 + depends = libdbusmenu-glib + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0e71f04ef696 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Maxime Gauduin <alucryd@archlinux.org> +# Contributor: Balló György <ballogyor+arch@gmail.com> +# Contributor: Branchini Massimo <max.bra.gtalk@gmail.com + +pkgbase=libdbusmenu +pkgname=('libdbusmenu-glib' 'libdbusmenu-gtk3') +pkgver=12.10.2 +pkgrel=4 +pkgdesc="A library for passing menus over DBus" +arch=('i686' 'x86_64') +url="https://launchpad.net/libdbusmenu" +license=('GPL3') +makedepends=('gnome-doc-utils' 'gobject-introspection' 'gtk3' 'intltool' 'vala') +options=('!emptydirs') +source=("http://launchpad.net/dbusmenu/${pkgver%.?}/${pkgver}/+download/${pkgbase}-${pkgver}.tar.gz") +sha256sums=('9d6ad4a0b918b342ad2ee9230cce8a095eb601cb0cee6ddc1122d0481f9d04c9') + +build() { + cd ${pkgbase}-${pkgver} + + export HAVE_VALGRIND_TRUE='#' + export HAVE_VALGRIND_FALSE='' + + ./configure --prefix='/usr' --sysconfdir='/etc' --localstatedir='/var' --disable-{dumper,static,tests} + make +} + +package_libdbusmenu-glib() { +depends=('glib2') + + cd ${pkgbase}-${pkgver} + + make -j1 -C libdbusmenu-glib DESTDIR="${pkgdir}" install +} + +package_libdbusmenu-gtk3() { +depends=('gtk3' 'libdbusmenu-glib') + + cd ${pkgbase}-${pkgver} + + make -j1 -C libdbusmenu-glib DESTDIR="${pkgdir}" install + make -j1 -C libdbusmenu-gtk DESTDIR="${pkgdir}" install + make -j1 -C libdbusmenu-glib DESTDIR="${pkgdir}" uninstall +} + +# vim: ts=2 sw=2 et: |