diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-24 17:54:42 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-24 17:54:42 +0200 |
commit | 10cb51c7fd28c4d6b0b0da180d1fcf23004ac2bb (patch) | |
tree | d6ed4985be83069720db38a7942df1f233a23517 | |
parent | add make install (diff) | |
download | xpybar-10cb51c7fd28c4d6b0b0da180d1fcf23004ac2bb.tar.gz xpybar-10cb51c7fd28c4d6b0b0da180d1fcf23004ac2bb.tar.bz2 xpybar-10cb51c7fd28c4d6b0b0da180d1fcf23004ac2bb.tar.xz |
m + dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-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" +} + |