diff options
author | Florian Dejonckheere | 2022-06-26 12:48:11 +0200 |
---|---|---|
committer | Florian Dejonckheere | 2022-06-26 12:48:11 +0200 |
commit | e921e642fb5d3890e93cd62649c62ea0fce93140 (patch) | |
tree | 8458701fa491b161835b8d2a1294e9dd6a338523 /PKGBUILD | |
download | aur-e921e642fb5d3890e93cd62649c62ea0fce93140.tar.gz |
Merge libnotify-id-git into libnotify-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f4d3f2d8859d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Florian Dejonckheere <florian at floriandejonckheere dot be> + +pkgname=libnotify-git +_pkgname=libnotify +pkgver=0.7.12.r0.8162b1d +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-git') +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 +} |