summaryrefslogtreecommitdiff
path: root/extra/libunique
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libunique')
-rw-r--r--extra/libunique/PKGBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/extra/libunique/PKGBUILD b/extra/libunique/PKGBUILD
index 6b4fff10b..8bd45f129 100644
--- a/extra/libunique/PKGBUILD
+++ b/extra/libunique/PKGBUILD
@@ -1,13 +1,13 @@
-# $Id: PKGBUILD 90706 2010-09-15 13:49:39Z jgc $
+# $Id: PKGBUILD 109868 2011-02-13 14:14:02Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libunique
pkgver=1.1.6
-pkgrel=3
+pkgrel=4
pkgdesc="Library for writing single instance applications"
arch=('i686' 'x86_64')
license=('LGPL')
-depends=('gtk2>=2.21.8')
-makedepends=('pkgconfig' 'gobject-introspection>=0.9.5')
+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
@@ -23,5 +23,12 @@ build() {
--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"
}