diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-05 04:00:14 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-05 04:00:14 +0000 |
commit | 4f7963b7ddc283ae57ceb68e7f4d51b3994e0070 (patch) | |
tree | 6ebcd67cfca9e9554f131b1ae746d9819f599294 /extra/libunique/PKGBUILD | |
parent | a78b434ff9cfdfb3d175c900ff622a561b84123f (diff) |
Wed Mar 5 03:57:00 UTC 2014
Diffstat (limited to 'extra/libunique/PKGBUILD')
-rw-r--r-- | extra/libunique/PKGBUILD | 16 |
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 |