diff options
author | Rowan Lewis | 2015-06-09 10:48:39 +0200 |
---|---|---|
committer | Rowan Lewis | 2015-06-09 10:48:39 +0200 |
commit | dc96a674d2fc4082a6d6435db2c9b35d2a61c7ad (patch) | |
tree | 3f5a24972179c7ec0ea5bfc4dc79b8091abe5f0f /PKGBUILD | |
download | aur-dc96a674d2fc4082a6d6435db2c9b35d2a61c7ad.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..78e301689282 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,54 @@ +rplname=gnome-settings-daemon +pkgname=gnome-settings-daemon-volume-step-patch +pkgver=3.16.2 +pkgrel=1 +pkgdesc="The GNOME Settings daemon with an additional patch to allow configuration of volume steps" +arch=('i686' 'x86_64') +license=('GPL') +depends=( + 'dconf' 'gnome-desktop' 'gsettings-desktop-schemas' 'hicolor-icon-theme' + 'libcanberra-pulse' 'libnotify' 'libsystemd' 'libwacom' 'pulseaudio' + 'pulseaudio-alsa' 'upower' 'librsvg' 'libgweather' 'geocode-glib' + 'geoclue2' 'nss' +) +makedepends=( + 'intltool' 'xf86-input-wacom' 'libxslt' 'docbook-xsl' +) +provides=('gnome-settings-daemon') +conflicts=('gnome-settings-daemon') +options=('!emptydirs') +install=gnome-settings-daemon.install +url="http://www.gnome.org" +groups=('gnome') +source=( + http://ftp.gnome.org/pub/gnome/sources/$rplname/${pkgver:0:4}/$rplname-$pkgver.tar.xz + volume-step.patch +) +sha256sums=( + 'd8d536584ebb8fb1403050eb65e7ee3328eba14b123542369ff1917e727fa69a' + 'bb1ac714e05d6b7b2c3e8a03180a580f9d8e65356a3fd70c3e8f5ba1d15bbb03' +) + +prepare() { + cd $rplname-$pkgver + + # https://bugzilla.gnome.org/show_bug.cgi?id=650371#c42 + patch -p1 -i ../volume-step.patch +} + +build() { + cd $rplname-$pkgver + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --libexecdir=/usr/lib/$rplname --disable-static + + # https://bugzilla.gnome.org/show_bug.cgi?id=656231 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +package() { + cd $rplname-$pkgver + make DESTDIR="$pkgdir" install +} |