summaryrefslogtreecommitdiff
path: root/extra/libunique/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libunique/PKGBUILD')
-rw-r--r--extra/libunique/PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/libunique/PKGBUILD b/extra/libunique/PKGBUILD
index a981256f8..9456d54e2 100644
--- a/extra/libunique/PKGBUILD
+++ b/extra/libunique/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 198251 2013-10-30 13:44:03Z allan $
+# $Id: PKGBUILD 206659 2014-03-04 12:25:15Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libunique
pkgver=1.1.6
-pkgrel=5
+pkgrel=6
pkgdesc="Library for writing single instance applications"
arch=('i686' 'x86_64')
license=('LGPL')
@@ -16,11 +16,15 @@ sha256sums=('e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb'
'bf99ddbf9104502ea498a6812ec2d700f61f4dbbaa2471cd52174b0b27070769'
'194ebfcc4c9297c44bbcfe5d45474310983121cdad881b72265d79cf4ec44235')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ cd $pkgname-$pkgver
patch -Np1 -i "${srcdir}/unique-gdbus.patch"
patch -Np1 -i "${srcdir}/remove_G_CONST_RETURN.patch"
- autoreconf
+}
+
+build() {
+ cd $pkgname-$pkgver
+ autoreconf -fi
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--disable-dbus
@@ -28,7 +32,7 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
# Remove documentation, provided by libunique3