diff options
Diffstat (limited to '')
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | DEPENDENCIES | 1 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 27 |
3 files changed, 31 insertions, 0 deletions
@@ -2,6 +2,9 @@ _/ bin/ obj/ __pycache__/ +/dist/*/*/* +!/dist/archlinux/*/PKGBUILD +!/dist/archlinux/*/xpybar.install \#*\# .* !.git* diff --git a/DEPENDENCIES b/DEPENDENCIES index 89b81b4..474af2a 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -16,4 +16,5 @@ BUILD DEPENDENCIES: zip make coreutils + sed diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD new file mode 100644 index 0000000..8d0f21a --- /dev/null +++ b/dist/archlinux/stable/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> + +pkgname=xpybar +pkgver=1.0 +pkgrel=1 +pkgdesc="A highly extensible minimalistic dock panel written in Python 3" +arch=(any) +url="https://github.com/maandree/xpybar" +license=('GPL3') +depends=(python3 argparser python3-xlib xorg-xrandr) +optdepends=("linux: most of the monitors require Linux's procfs or sysfs") +makedepends=(make coreutils sed zip) +source=($url/archive/$pkgver.tar.gz) +sha256sums=(3c14927362483fecead89a5bad0d40940db82e8bd7a1cf285b4300e151f04785) + + +build() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr +} + + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr install DESTDIR="$pkgdir" +} + |