aboutsummaryrefslogblamecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: 66ffa58aa722864b7c05dc3ff1ebdc431d1de915 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                                        
           
        
                                                                            

                                        
                        
                                                   
                                                                         
                                         
                                                         
                                                


                                                

                                    
                                                                             










                                            
                                                

 
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=xpybar
pkgver=1.10
pkgrel=2
pkgdesc="A highly extensible minimalistic dock panel configured in Python 3"
arch=(any)
url="https://github.com/maandree/xpybar"
license=('GPL3' 'AGPL3')
depends=(python3 argparser python-xlib xorg-xrandr)
optdepends=("linux: most of the monitors require Linux's procfs or sysfs"
            "curl: for Internet services"
	    "python-pyalsaaudio: for ALSA volume control"
	    "hdparm: hdparm: for hdparm support"
	    "python-pytz: for timezone support"
	    "python-sysv-ipc: for ropty example"
	    "iputils: for ping support")
makedepends=(make coreutils sed zip)
source=($url/archive/$pkgver.tar.gz)
sha256sums=(d0dc4ed6649a4edf2c85f272a880e09105c017222d793fff67aa3c4af1616286)


build() {
  cd "$srcdir/$pkgname-$pkgver"
  make PREFIX=/usr
}


package() {
  cd "$srcdir/$pkgname-$pkgver"
  make PREFIX=/usr install DESTDIR="$pkgdir"
  chmod 4755 "$pkgdir/usr/bin/restricted-hdparm"
}