From 3051c7a3db5217ce47ded8a3cddbdec9e6328e3f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 22 Feb 2014 06:08:21 +0100 Subject: dist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- dist/archlinux/stable/.gitignore | 6 ++++++ dist/archlinux/stable/PKGBUILD | 27 +++++++++++++++++++++++++++ dist/archlinux/stable/blueshift-tray.install | 14 ++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 dist/archlinux/stable/.gitignore create mode 100644 dist/archlinux/stable/PKGBUILD create mode 100644 dist/archlinux/stable/blueshift-tray.install (limited to 'dist') 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 +} + -- cgit v1.2.3-70-g09d2