updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / dtweet / PKGBUILD
blobebb1cc6ead42947b5d47ceb0dc24ce50207df290
1 # Maintainer: Steve Engledow <steve at offend dot me dot uk>
2 pkgname='dtweet'
3 pkgver=0.1
4 pkgrel=2
5 pkgdesc="A simple script that uses dmenu-notify and ttytter to provide a clean, easy way to update twitter"
6 arch=('i686' 'x86_64')
7 url="https://github.com/stilvoid/dmenu/tree/twitter"
8 license=('MIT')
9 depends=('dmenu-notify-git' 'ttytter')
10 makedepends=('git')
11 install=install.sh
13 build() {
14   cd "$srcdir"
16   if [ -d dmenu-notify ]; then
17     cd dmenu-notify
18     git checkout twitter
19     git pull
20   else
21     git clone git://github.com/stilvoid/dmenu.git dmenu-notify
22   fi
24   cd "$srcdir/dmenu-notify"
25   git checkout twitter
28 package() {
29   cd "$srcdir/dmenu-notify"
30   install -Dm644 ${srcdir}/dmenu-notify/LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
31   install -Dm755 ${srcdir}/dmenu-notify/dtweet "${pkgdir}/usr/bin/dtweet"