diff options
Diffstat (limited to 'testing/libunique/PKGBUILD')
-rw-r--r-- | testing/libunique/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/libunique/PKGBUILD b/testing/libunique/PKGBUILD new file mode 100644 index 000000000..8bd45f129 --- /dev/null +++ b/testing/libunique/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 109868 2011-02-13 14:14:02Z heftig $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +pkgname=libunique +pkgver=1.1.6 +pkgrel=4 +pkgdesc="Library for writing single instance applications" +arch=('i686' 'x86_64') +license=('LGPL') +depends=('gtk2') +makedepends=('gtk-doc' 'gobject-introspection') +options=('!libtool') +url="http://live.gnome.org/LibUnique" +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.1/${pkgname}-${pkgver}.tar.bz2 + unique-gdbus.patch) +sha256sums=('e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb' + 'bf99ddbf9104502ea498a6812ec2d700f61f4dbbaa2471cd52174b0b27070769') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/unique-gdbus.patch" + autoreconf + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static \ + --disable-dbus + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + # Remove documentation, provided by libunique3 + rm -r "$pkgdir/usr/share/gtk-doc" +} |