summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Playfair Cal2019-08-24 14:20:20 +1000
committerDaniel Playfair Cal2019-08-24 14:20:20 +1000
commit335c6e41354d348a6c6c5ed706f592590a4fb436 (patch)
tree918cef799e22fc2ce4e262849d339217bbb77dbb
downloadaur-335c6e41354d348a6c6c5ed706f592590a4fb436.tar.gz
Initial commit
-rw-r--r--.SRCINFO30
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD53
3 files changed, 86 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ad574e5e94a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,30 @@
+pkgbase = mate-panel-git
+ pkgdesc = The MATE Panel
+ pkgver = v1.23.1.r13.g950caf8a
+ pkgrel = 1
+ url = https://mate-desktop.org
+ arch = x86_64
+ groups = mate
+ license = GPL
+ makedepends = mate-common
+ makedepends = yelp-tools
+ makedepends = intltool
+ makedepends = itstool
+ makedepends = gobject-introspection
+ makedepends = gtk-layer-shell
+ depends = dbus-glib
+ depends = libwnck3
+ depends = libcanberra
+ depends = libmateweather
+ depends = libsm
+ depends = mate-menus
+ depends = mate-desktop
+ depends = gtk-layer-shell
+ provides = mate-panel
+ conflicts = mate-panel-gtk3
+ replaces = mate-panel-gtk3
+ source = git+https://github.com/mate-desktop/mate-panel
+ sha256sums = SKIP
+
+pkgname = mate-panel-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..e7c8a9e7225
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+pkg/
+src/
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..dcb7e13e990
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,53 @@
+# Maintainer: Daniel Playfair Cal <Daniel.playfair.cal@gmail.com>
+# Contributor: Brad Fanella <cesura@archlinux.org>
+# Contributor: Martin Wimpress <code@flexion.org>
+
+pkgname=mate-panel-git
+_pkgname=mate-panel
+sha256sums=('SKIP')
+sha256sums=('SKIP')
+provides=(mate-panel)
+pkgver=v1.23.1.r13.g950caf8a
+pkgrel=1
+pkgdesc="The MATE Panel"
+url="https://mate-desktop.org"
+arch=('x86_64')
+license=('GPL')
+depends=('dbus-glib' 'libwnck3' 'libcanberra' 'libmateweather' 'libsm' 'mate-menus' 'mate-desktop' 'gtk-layer-shell')
+makedepends=('mate-common' 'yelp-tools' 'intltool' 'itstool' 'gobject-introspection' 'gtk-layer-shell')
+source=("git+https://github.com/mate-desktop/mate-panel")
+groups=('mate')
+conflicts=('mate-panel-gtk3')
+replaces=('mate-panel-gtk3')
+sha256sums=('SKIP')
+
+prepare() {
+ cd "$srcdir"
+}
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "${_pkgname}"
+ ./autogen.sh
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/${_pkgname} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-introspection \
+ --enable-wayland
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package() {
+ cd "${_pkgname}"
+ make DESTDIR="${pkgdir}" install
+}