summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b1db9d7a5f3997d70e05ac01d97e0e5c7412d985 (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
33
34
# Maintainer: sommd <d.j.s.1050@gmail.com>
pkgname=garlium-git
pkgver=3.0.3.1.r178.g4583027f
pkgrel=1
pkgdesc="A lightweight desktop wallet for Garlicoin, based on Electrum."
arch=('any')
url="https://xske.github.io/garlium/"
license=('MIT')
groups=()
depends=('python' 'python-dnspython' 'python-ecdsa' 'python-jsonrpclib-pelix' 'python-pbkdf2' 'python-protobuf'
    'python-pyaes' 'python-pycryptodomex' 'python-pyqt5' 'python-pysocks' 'python-qrcode' 'python-requests'
    'python-scrypt')
makedepends=('git' 'python-setuptools')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
source=("$pkgname::git+https://github.com/xSke/garlium")
noextract=()
md5sums=('SKIP')

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

package() {
    cd "$pkgname"
    python setup.py install --root="$pkgdir/" --optimize=1
    install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}