diff options
author | Que Quotion | 2018-09-25 01:23:09 +0900 |
---|---|---|
committer | Que Quotion | 2018-09-25 01:23:09 +0900 |
commit | bf05ab9daad4d015d75fb5cf76a9897edf05663c (patch) | |
tree | a4b3ff6fc24afc6ed96410b15c1404840274c899 | |
parent | a11610f499541a78187ab7b29ee14bd56a608efb (diff) | |
download | aur-bf05ab9daad4d015d75fb5cf76a9897edf05663c.tar.gz |
Standardize pantheon pkgbuilds
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 9 insertions, 16 deletions
@@ -5,9 +5,7 @@ pkgbase = gnome-settings-daemon-elementary url = https://gitlab.gnome.org/GNOME/gnome-settings-daemon arch = i686 arch = x86_64 - groups = gnome - groups = unity - groups = pantheon-qq + groups = pantheon license = GPL makedepends = docbook-xsl makedepends = git @@ -18,6 +16,7 @@ pkgbase = gnome-settings-daemon-elementary makedepends = python makedepends = xf86-input-wacom makedepends = meson + makedepends = git depends = dconf depends = geoclue2 depends = geocode-glib @@ -3,6 +3,7 @@ # Contributor: Xiao-Long Chen <chenxiaolong@cxl.epac.to> # Contributor: Jan de Groot <jgc@archlinux.org> # Contributor: thn81 <root@scrat> +# Contributor: Adria Arrufat <adria DOT arrufat+aur AT protonmail DOT ch> pkgname=gnome-settings-daemon-elementary pkgver=3.28.1+0ubuntu1+r3.6975d1c25 @@ -14,8 +15,8 @@ license=('GPL') depends=(dconf geoclue2 geocode-glib gnome-desktop 'gsettings-desktop-schemas-ubuntu>=3.24.0' gtk3-print-backends libcanberra-pulse libgudev libgweather libnotify librsvg libsystemd libwacom nss pulseaudio pulseaudio-alsa upower) -makedepends=(docbook-xsl git gnome-common intltool libxslt libnm python xf86-input-wacom meson) -groups=(gnome unity pantheon-qq) +makedepends=(docbook-xsl git gnome-common intltool libxslt libnm python xf86-input-wacom meson git) +groups=(pantheon) provides=(gnome-settings-daemon{,-ubuntu}="${pkgver}") conflicts=(gnome-settings-daemon{,-ubuntu}) source=("git+https://github.com/elementary/os-patches.git#branch=gnome-settings-daemon-bionic-patched" @@ -38,20 +39,13 @@ prepare() { build() { cd "os-patches" - - meson \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --libexecdir=/usr/lib/gnome-settings-daemon \ - -Dstatic-false=true \ - builddir - - ninja -C builddir + [ -d build ] && rm -rf build + arch-meson build -Dstatic-false=true + ninja -C build } package() { cd "os-patches" - DESTDIR="${pkgdir}" ninja -C builddir install + DESTDIR="${pkgdir}" ninja -C build install } |