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:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.