aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-22 06:08:21 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-22 06:08:21 +0100
commit3051c7a3db5217ce47ded8a3cddbdec9e6328e3f (patch)
treeff65d7499e85fbc637a078087d3b6e8c8f46f7d0 /dist/archlinux/stable
parentadd readme (diff)
downloadblueshift-tray-3051c7a3db5217ce47ded8a3cddbdec9e6328e3f.tar.gz
blueshift-tray-3051c7a3db5217ce47ded8a3cddbdec9e6328e3f.tar.bz2
blueshift-tray-3051c7a3db5217ce47ded8a3cddbdec9e6328e3f.tar.xz
dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'dist/archlinux/stable')
-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
+}
+