aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dist/archlinux/stable/.gitignore6
-rw-r--r--dist/archlinux/stable/PKGBUILD27
-rw-r--r--dist/archlinux/stable/blueshift-tray.install14
3 files changed, 47 insertions, 0 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore
new file mode 100644
index 0000000..7cbf0dc
--- /dev/null
+++ b/dist/archlinux/stable/.gitignore
@@ -0,0 +1,6 @@
+*
+!.git*
+*~
+!/PKGBUILD
+!/blueshift-tray.install
+
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
new file mode 100644
index 0000000..032713d
--- /dev/null
+++ b/dist/archlinux/stable/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=blueshift-tray
+pkgver=1.0
+pkgrel=1
+pkgdesc="Systray wrapper for Blueshift"
+arch=(any)
+url="https://github.com/maandree/blueshift-tray"
+license=('GPL3')
+depends=(python2 pygtk 'blueshift>=1.4')
+makedepends=(make coreutils sed auto-auto-complete)
+install=blueshift-tray.install
+source=($url/archive/$pkgver.tar.gz)
+sha256sums=('454a5127be030d8584095d1fe410d3af450be1403f9ab88bba723d92a055e221')
+
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr
+}
+
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr install DESTDIR="$pkgdir"
+}
+
diff --git a/dist/archlinux/stable/blueshift-tray.install b/dist/archlinux/stable/blueshift-tray.install
new file mode 100644
index 0000000..24c0ce3
--- /dev/null
+++ b/dist/archlinux/stable/blueshift-tray.install
@@ -0,0 +1,14 @@
+# -*- shell-script -*-
+
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+