summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3109696ce8c11e14851667dd3cc582ec039f24be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: HLFH <gaspard@dhautefeuille.eu>

_pkgname=archey3
pkgname=${_pkgname}-git
pkgver=0.4.r57.gac68752
pkgrel=1
pkgdesc="Python script to display system information alongside the Arch Linux logo."
arch=('x86_64')
url="https://lclarkmichalek.github.io/archey3/"
license=('GPL')
depends=('python')
makedepends=('git' 'python-distribute')
optdepends=(
'python-mpd2: python library for mpd interaction',
'python-logbook: for logging'
'imagemagick: for default screenshot command'
)
conflicts=('archey' 'archey3' 'archey4')
provides=('archey')
source=("git+https://github.com/bluepeppers/archey3.git")
b2sums=('SKIP')

pkgver() {
    cd ${_pkgname}
    git describe --long | sed 's/\([^-]*-g\)/r\1/;s/v//;s/-/./g'
}

package() {
    cd "$_pkgname"
    python setup.py install --root=${pkgdir}
    install -Dm644 COPYING ${pkgdir}/usr/share/licenses/archey/COPYING
}