diff options
author | quininer kel | 2016-12-07 13:23:38 +0800 |
---|---|---|
committer | quininer kel | 2016-12-07 13:23:38 +0800 |
commit | 6e2873e68c9a744c786251ba8e28a48c90999919 (patch) | |
tree | 3f5af37f5a0e5b6c4d48de9a68a1eb9fc616b605 | |
parent | 24fc813b1253d3bf5748365696417f910321d51c (diff) | |
download | aur-6e2873e68c9a744c786251ba8e28a48c90999919.tar.gz |
clean
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 9 insertions, 25 deletions
@@ -1,15 +1,13 @@ # Generated by mksrcinfo v8 -# Sun Aug 28 11:44:20 UTC 2016 +# Wed Dec 7 05:23:30 UTC 2016 pkgbase = toxygen-git pkgdesc = Toxygen is cross-platform Tox client written in Python3 - pkgver = 0.2.4.478 - pkgrel = 2 + pkgver = 0.2.6.0.523 + pkgrel = 1 url = https://github.com/xveduk/toxygen arch = i686 arch = x86_64 license = GPL-3.0 - makedepends = git - makedepends = gendesk depends = python depends = toxcore depends = python-pyside @@ -1,25 +1,20 @@ pkgname=toxygen-git _pkgname=toxygen pkgdesc="Toxygen is cross-platform Tox client written in Python3" -pkgrel=2 -pkgver=0.2.4.478 +pkgrel=1 +pkgver=0.2.6.0.523 arch=('i686' 'x86_64') conflicts=("toxygen") provides=("toxygen") url="https://github.com/xveduk/toxygen" license=('GPL-3.0') depends=('python' 'toxcore' 'python-pyside' 'python-pyaudio') -makedepends=('git' 'gendesk') source=('git://github.com/xveduk/toxygen.git') sha256sums=('SKIP') -prepare(){ - gendesk -f --pkgname "Toxygen" --pkgdesc "$pkgdesc" --exec '/usr/bin/toxygen' -} - pkgver() { - cd "$_pkgname/toxygen" - echo "$(python -c "print(__import__('util').program_version)").$(git rev-list --count HEAD)" + cd $_pkgname + echo "$(python setup.py --version).$(git rev-list --count HEAD)" } build() { @@ -28,15 +23,6 @@ build() { } package() { - install -Dm644 "Toxygen.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop" - cd $_pkgname - install -d "$pkgdir/opt/toxygen" - cp -r "toxygen" "$pkgdir/opt/toxygen" - - mkdir "$pkgdir/usr/bin" - cat > "$pkgdir/usr/bin/toxygen" << EOF -#!/usr/bin/env sh -python /opt/toxygen/toxygen/main.py \$@ -EOF - chmod +x "$pkgdir/usr/bin/toxygen" + cd $_pkgname + python setup.py install --prefix="$pkgdir/usr" } |