summaryrefslogtreecommitdiff
path: root/extra/libnotify/PKGBUILD
blob: 03813ec681f53eda9dc12ed24fa25b0ab8e1af40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 112734 2011-03-06 12:38:58Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libnotify
pkgver=0.7.1
pkgrel=1.1
pkgdesc="Desktop notification library"
arch=('i686' 'x86_64')
url="http://library.gnome.org/devel/notification-spec/"
license=('LGPL')
depends=('gdk-pixbuf2')
makedepends=('gobject-introspection')
options=('!libtool')
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.7/${pkgname}-${pkgver}.tar.bz2
        libnotify-0.7.1-gtk3-tests.patch)
sha256sums=('84dc2a77defb25521d2f1cb7ac34b4d23b55254ba361442658430efb928536c8'
            'd9ee539a58a30ccd213b9857003c2ba04a0cf343763ed566ca0d769cbfc34664')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    patch -Np1 -i "${srcdir}/libnotify-0.7.1-gtk3-tests.patch"
    autoreconf -fi
    ./configure --prefix=/usr --disable-static
    make
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
}