diff options
author | Hcra | 2019-03-03 09:27:04 +0100 |
---|---|---|
committer | Hcra | 2019-03-03 09:27:04 +0100 |
commit | 1b694f08f4f1689561f534c793e86a00a46644c0 (patch) | |
tree | 60cc861266ebb16ac8ebe7910fbcdd46920e5bdc | |
parent | 64873cc61fae6d147dd5f4b4aaf9c31e24e31948 (diff) | |
download | aur-1b694f08f4f1689561f534c793e86a00a46644c0.tar.gz |
changed depends
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 9 insertions, 7 deletions
@@ -1,14 +1,13 @@ pkgbase = qweborf-git pkgdesc = Minimal HTTP server to share your files - Qt frontend pkgver = 0.15 - pkgrel = 7 - url = https://ltworf.github.io/weborf/ + pkgrel = 8 + url = https://ltworf.github.io/weborf arch = any license = GPL3 makedepends = pacman>=5.1 makedepends = git makedepends = sudo - makedepends = python-pyqt5 depends = python depends = python-pyqt5 depends = weborf-git @@ -3,30 +3,33 @@ pkgname=qweborf-git _pkgname="weborf" pkgver=0.15 -pkgrel=7 +pkgrel=8 pkgdesc="Minimal HTTP server to share your files - Qt frontend" arch=(any) -url='https://ltworf.github.io/weborf/' -license=(GPL3) +url="https://ltworf.github.io/weborf" +license=('GPL3') depends=('python' 'python-pyqt5' 'weborf-git') -makedepends=('pacman>=5.1' 'git' 'sudo' 'python-pyqt5') +makedepends=('pacman>=5.1' 'git' 'sudo') conflicts=('qweborf') source=("git+https://github.com/ltworf/weborf.git#branch=master") md5sums=("SKIP") pkgver() { cd "$srcdir/$_pkgname" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd "$srcdir/$_pkgname" + pyuic5 qweborf/qweborf/main.ui > qweborf/main.py python qweborf/setup.py build } package() { cd "$srcdir/$_pkgname" + python qweborf/setup.py install --root="$pkgdir" install -Dm 0755 qweborf/qweborf/qweborf "$pkgdir/usr/bin/qweborf" install -Dm 0755 qweborf/integration/qweborf.desktop "$pkgdir/usr/share/applications/qweborf.desktop" |