Source

pkgbuilds / pyshutdownbox / PKGBUILD

# Maintainer: Smith Dhumbumroong <zodmaner@gmail.com>

pkgname=pyshutdownbox
pkgver=0.7.1
pkgrel=2
pkgdesc="Simple shutdown utility for Openbox with the ability to run script and close programs"
arch=(any)
url="http://bitbucket.org/zodmaner/pyshutdownbox"
license=('GPL')
depends=('python2' 'pygtk>=2.22.0-2' 'dbus-python' 'python2-psutil')
source=(http://bitbucket.org/zodmaner/pyshutdownbox/downloads/$pkgname-$pkgver.tar.gz
        PyShutdownBox)
md5sums=('0f2ab9d11c44cdceb9043fe74c8bccbc'
         '94ac1acc8f2968b100fec16e7f6322f1')

package() {
  cd "$srcdir/$pkgname-$pkgver"

  install -d -m0755 "$pkgdir/usr/share/$pkgname/"
  install -d -m0755 "$pkgdir/usr/bin/"

  install -D -m0644 PyShutdownBox.glade "$pkgdir/usr/share/$pkgname/"
  install -D -m0755 PyShutdownBox.py "$pkgdir/usr/share/$pkgname/"
  install -D -m0755 $srcdir/PyShutdownBox "$pkgdir/usr/bin/"
}

# vim:set ts=2 sw=2 et: