Want more features on Pastebin? Sign Up, it's FREE!
Guest

chmod - "w" yes but why not "r"?

By: a guest on Jul 30th, 2010  |  syntax: Bash  |  size: 0.69 KB  |  views: 104  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=openbox-todo
  2. pkgver=2
  3. pkgrel=1
  4. pkgdesc="A simple TODO list that integrates into the Openbox menu"
  5. url="http://bbs.archlinux.org/viewtopic.php?id=91544"
  6. arch=('any')
  7. depends=('zenity')
  8. license=('BSD')
  9. source=('openbox-todo' 'LICENSE')
  10. md5sums=('e85e57044eb1165138f8e66179528657'
  11.          '8e773e32775fb019d2ed185754cdb2d4')
  12.  
  13. build() {
  14.   # Making dirs
  15.   install -d -m 755 "$pkgdir/usr/bin" || return 1
  16.   install -d -m 755 "$pkgdir/usr/share/licenses/openbox-todo" || return 1
  17.  
  18.   # Copying files
  19.   install -m 755 "$srcdir/openbox-todo" "$pkgdir/usr/bin/openbox-todo" || return 1
  20.   install -m 644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/openbox-todo/LICENSE" || return 1
  21. }
clone this paste RAW Paste Data