summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornewbthenewbd2017-03-19 19:33:54 +0100
committernewbthenewbd2017-03-19 19:33:54 +0100
commitd617d942ed22b566ca07d5456f9874d7d75352cf (patch)
treec24cf4881ec7e2ba41ae411ed2521c9102e3d23f
downloadaur-d617d942ed22b566ca07d5456f9874d7d75352cf.tar.gz
Uploaded latest MATE package available for gtk2
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD43
2 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f81c7645359
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = mate-settings-daemon-gtk2
+ pkgdesc = The MATE Settings daemon (GTK2 version)
+ pkgver = 1.16.1
+ pkgrel = 1
+ url = http://mate-desktop.org
+ arch = i686
+ arch = x86_64
+ groups = mate-gtk2
+ license = GPL
+ makedepends = intltool
+ depends = dbus-glib
+ depends = libcanberra
+ depends = libmatekbd-gtk2
+ depends = libmatemixer
+ depends = libnotify
+ depends = mate-desktop-gtk2
+ depends = nss
+ depends = polkit
+ optdepends = libcanberra-pulse: PulseAudio support
+ optdepends = pulseaudio-alsa: PulseAudio support
+ conflicts = mate-settings-daemon
+ conflicts = mate-settings-daemon-gtk3
+ options = !emptydirs
+ source = http://pub.mate-desktop.org/releases/1.16/mate-settings-daemon-1.16.1.tar.xz
+ sha1sums = 8fcb4ae0571e9bd507b47a67e0e4245e6558693e
+
+pkgname = mate-settings-daemon-gtk2
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d838de089d0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Newb I the Newbd <czbd hostedon o2 halfacolon pl>
+# Contributor: Martin Wimpress <code@flexion.org>
+
+_ver=1.16
+_pkgbase=mate-settings-daemon
+pkgname=(${_pkgbase}-gtk2)
+pkgver=${_ver}.1
+pkgrel=1
+pkgdesc="The MATE Settings daemon (GTK2 version)"
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('dbus-glib' 'libcanberra' 'libmatekbd-gtk2' 'libmatemixer' 'libnotify'
+ 'mate-desktop-gtk2' 'nss' 'polkit')
+makedepends=('intltool')
+optdepends=('libcanberra-pulse: PulseAudio support'
+ 'pulseaudio-alsa: PulseAudio support')
+groups=('mate-gtk2')
+conflicts=("${_pkgbase}" "${_pkgbase}-gtk3")
+options=('!emptydirs')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+sha1sums=('8fcb4ae0571e9bd507b47a67e0e4245e6558693e')
+
+build() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/${_pkgbase} \
+ --sysconfdir=/etc \
+ --with-gtk=2.0 \
+ --enable-polkit \
+ --enable-pulse
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}