PKGBUILDs/extra/libunique/PKGBUILD

23 lines
686 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libunique
pkgver=1.0.8
pkgrel=1
pkgdesc="Library for writing single instance applications"
arch=(i686 x86_64)
license=('LGPL')
depends=('gtk2>=2.16.0' 'dbus-glib>=0.80')
makedepends=('pkgconfig')
options=('!libtool')
url="http://live.gnome.org/LibUnique"
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.0/${pkgname}-${pkgver}.tar.bz2)
md5sums=('02b9e41c70ca738e1aa914f400fc1f05')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}