summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 814cd0177941e08007babe41a328ec2aa895a6ab (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
# Maintainer: nano thirteen <nano13@gmx.net>

_pkgname=('tambi')
pkgname=('tambi-git')
pkgver=583
pkgrel=1
pkgdesc='eine eierlegende wollmilchsau'
arch=('any')
licence=('undecided')
url='https://github.com/nano13/tambi.git'
makedepends=('git' 'python-setuptools')
depends=('python3' 'python-pyqt5' 'qt5-charts' 'python-pyqtchart' 'python-pysword' 'python-markdown' 'python-gpsd-git' 'python-geopy' 'python-srtm-git' 'python-pillow')
source=(${_pkgname}::git+https://github.com/nano13/tambi.git
    $_pkgname.sh)
sha256sums=('SKIP' 'SKIP')

pkgver() {
    cd "${srcdir}/${_pkgname}"
    git rev-list --count HEAD
}

package() {
    cd "$srcdir"/"$_pkgname"
    
    mkdir -p "$pkgdir"/usr/share/$pkgname
    mv * "$pkgdir"/usr/share/$pkgname
    #install -dm577 "$pkgdir"/usr/share/$pkgname/
    
    install -Dm755 "$srcdir"/$_pkgname.sh "$pkgdir"/usr/bin/$_pkgname
}