blob: a60e6fe5d49a67bc8300d0fe3e5495a01837bbe8 (
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
39
40
41
42
43
|
# Maintainer: Florian Dejonckheere <florian at floriandejonckheere dot be>
pkgname=libnotify-git
_pkgname=libnotify
pkgver=0.8.2.r0.69aff6e
pkgrel=1
pkgdesc="Library for sending desktop notifications"
arch=('i686' 'x86_64')
license=('GPL')
url='https://gitlab.gnome.org/GNOME/libnotify'
depends=()
makedepends=('pkgconfig' 'meson' 'xmlto' 'git' 'gobject-introspection' 'gtk-doc' 'gnome-common' 'gi-docgen')
options=('!libtool')
conflicts=("${_pkgname}")
provides=("${_pkgname}=0.7.12")
source=("${_pkgname}::git+https://gitlab.gnome.org/GNOME/${_pkgname}.git")
md5sums=('SKIP')
pkgver() {
cd "${_pkgname}"
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
prepare() {
cd "${_pkgname}"
meson -Dprefix=/usr build
}
build() {
cd "${_pkgname}"
meson compile -C build
}
package() {
cd "${_pkgname}"
echo ${pkgdir}
DESTDIR=${pkgdir} meson install -C build
}
|