Advertisement
Guest User

hostblock PKGBUILD

a guest
Sep 17th, 2015
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.59 KB | None | 0 0
  1. # Maintainer: Pad Ster <padspambox at gmail dot com>
  2.  
  3. pkgname=hostblock
  4. pkgver=1.0.1
  5. pkgrel=1
  6. pkgdesc="Simple terminal interface for blocking websites via the /etc/hosts file. Binary package."
  7. arch=('x86_64')
  8. url="https://github.com/cgag/hostblock"
  9. license=('AGPL')
  10.  
  11. source=("https://github.com/cgag/hostblock/releases/download/v$pkgver/$pkgname")
  12. noextract=("${source[@]%%::*}")
  13. sha256sums=(4c1cff8d565f29d872859013788a4c253cb4e9ad1fe1a1dc7db22fb47c97f483)
  14.  
  15. prepare() {
  16.     chmod 755 $pkgname
  17. }
  18.  
  19. package() {
  20.     mkdir $pkgdir/usr
  21.     mkdir $pkgdir/usr/bin
  22.     cp $pkgname $pkgdir/usr/bin/
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement