From 4f7963b7ddc283ae57ceb68e7f4d51b3994e0070 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Wed, 5 Mar 2014 04:00:14 +0000 Subject: Wed Mar 5 03:57:00 UTC 2014 --- extra/libunique/PKGBUILD | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'extra/libunique/PKGBUILD') 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 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 -- cgit v1.2.3-54-g00ecf