diff options
author | timttmy | 2015-08-08 21:10:24 +0100 |
---|---|---|
committer | timttmy | 2015-08-08 21:10:24 +0100 |
commit | e50b60aea6f60a3a4b29a4abe7274d9748f0479a (patch) | |
tree | eddf1133e003cc2765e6e8e76b2972991eab4010 /PKGBUILD | |
download | aur-e50b60aea6f60a3a4b29a4abe7274d9748f0479a.tar.gz |
Initial
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..32c1cc40c4ad --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: timttmy <marshall\\dot//cleave\\at//tiscali\\dot//co\\dot//uk> + +pkgname=heybuddy +pkgver=0.2.5 +pkgrel=3 +pkgdesc="A light/feature free client for the identi.ca microblogging site." +arch=('i686' 'x86_64') +url="https://launchpad.net/heybuddy/" +license=('GPL3') +depends=('python2' 'pygtk') +makedepends=('sed') +optdepends=('gtkspell' 'python2-gtkspell' 'libnotify') +provides=(heybuddy) +conflicts=(heybuddy-trunk-bzr) +install=heybuddy.install +source=(http://launchpad.net/heybuddy/0.2/$pkgver/+download/$pkgname-$pkgver.tgz $pkgname.desktop) +md5sums=('d5ee49ecad0d0efd9f1ca1990bc1c792' '68d0c01882c9db6ae6381b49e3507eea') +build() { + cd "$srcdir/$pkgname-$pkgver" + sed -i 's/env\ python/env\ python2/' heybuddy.py || return 1 +} +package() { + mkdir -p "$pkgdir/usr/share/heybuddy" || return 1 + mkdir -p "$pkgdir/usr/bin/" || return 1 + mkdir -p "$pkgdir/usr/share/pixmaps/" || return 1 + cp -a ./ "$pkgdir/usr/share/heybuddy/" || return 1 + ln -sf /usr/share/heybuddy/heybuddy.py "$pkgdir/usr/bin/heybuddy" || return 1 + install -m 644 $srcdir/$pkgname-$pkgver/assets/icon.png "$pkgdir/usr/share/pixmaps/$pkgname.png" + install -Dm644 $startdir/$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop" + python2 -m compileall "$pkgdir/usr/share/heybuddy" +} |