blob: b1c423fed32d661a518cb9a0d26ae39f5b657f53 (
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
31
32
33
34
35
36
37
38
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnotify
pkgver=0.7.7
pkgrel=0
pkgdesc="Desktop notification library"
url="http://library.gnome.org/devel/notification-spec/"
arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
depends_dev="gdk-pixbuf-dev glib-dev dbus-dev"
makedepends="$depends_dev gtk+3.0-dev autoconf automake"
source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz
skip-tests.patch"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="e9d911f6a22435e0b922f2fe71212b59 libnotify-0.7.7.tar.xz
5b86a856a0a13e74e10f87b4b78f2b34 skip-tests.patch"
sha256sums="9cb4ce315b2655860c524d46b56010874214ec27e854086c1a1d0260137efc04 libnotify-0.7.7.tar.xz
973dba58ddc325e8ac0082069643c3642cf7d7cb61ce8fe1d0ee4b4561439315 skip-tests.patch"
sha512sums="133874114407bf12267ef609f5941657181760bc7cf115c5973b1810cb72bf55072b621c143e32be1e7e8b49f244851925d14bc3f9f26457747b8a8695ee9954 libnotify-0.7.7.tar.xz
76e64bc536dbb3a38f26cdb579f9e97949591559d827380c9e42e89af0a3d4f27804fae0a6c7749efee91f71eb0dcc131c137d7971fedd944216d3a5ebbc17c8 skip-tests.patch"
|