summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Thompson2016-12-29 10:07:48 +0000
committerRobin Thompson2016-12-29 10:07:48 +0000
commit75c05ba81d18bbcbd8354065de102b070c64c9a8 (patch)
tree4c280357fb8314e1ece6dbc6d79b854c5bc1731a
downloadaur-75c05ba81d18bbcbd8354065de102b070c64c9a8.tar.gz
initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD34
-rw-r--r--gladrags.install13
3 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6268596de99
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = gladrags-git
+ pkgdesc = An applet to smarten up MATE panels
+ pkgver = 0.22.r0.gc44c89f
+ pkgrel = 1
+ url = https://github.com/robint99/gladrags
+ install = gladrags.install
+ arch = any
+ license = GPLv3
+ makedepends = git
+ depends = mate-panel
+ depends = python
+ depends = python-gobject
+ depends = imagemagick
+ source = git+http://github.com/robint99/gladrags
+ md5sums = SKIP
+
+pkgname = gladrags-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..00c3dde8126
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Robin Thompson <robin*dot*thompson99*at*gmail*dot*com>
+_pkgname=gladrags
+pkgname=gladrags-git
+pkgver=0.22.r0.gc44c89f
+pkgrel=1
+epoch=
+pkgdesc="An applet to smarten up MATE panels"
+arch=('any')
+url="https://github.com/robint99/gladrags"
+license=('GPLv3')
+depends=("mate-panel" "python" "python-gobject" "imagemagick")
+makedepends=("git")
+install="gladrags.install"
+source=("git+http://github.com/robint99/gladrags")
+md5sums=('SKIP')
+
+pkgver() {
+ cd $_pkgname
+ git describe --long --tags | sed 's/^V//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "$srcdir/gladrags"
+ aclocal
+ automake --add-missing
+ autoreconf
+ ./configure --prefix=/usr --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "$srcdir/gladrags"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/gladrags.install b/gladrags.install
new file mode 100644
index 00000000000..da893db5e39
--- /dev/null
+++ b/gladrags.install
@@ -0,0 +1,13 @@
+pkgname=gladrags
+
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+}
+
+post_remove() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+}