summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ed70e2f2c4c99e5c0094a91052ff3376f6be9781 (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
# Maintainer: Michael Greene <mgreene@securityinnovation.com>

pkgname=eluminance-git
pkgver=0.9.r81
pkgrel=2
pkgdesc="A fast photo browser, written in Python using EFL"
arch=('any')
url="https://github.com/DaveMDS/eluminance"
license=('GPL')
depends=('efl>=1.18.0' 'python-efl' 'python-xdg')
makedepends=('git')
provides=('eluminance')
source=('git+https://github.com/DaveMDS/eluminance.git')
sha256sums=('SKIP')


pkgver() {
    printf "%s.r%s" \
        "$(cd ${srcdir}/eluminance; python setup.py --version)" \
        "$(cd eluminance; git rev-list --count HEAD)"
}

build() {
    cd "${srcdir}/eluminance"
    python setup.py build
}

package() {
    cd "${srcdir}/eluminance"
    python setup.py install --prefix="/usr" --root="${pkgdir}" --optimize=1
}