diff options
author | Score_Under | 2016-10-23 01:59:54 +0100 |
---|---|---|
committer | Score_Under | 2016-10-23 01:59:54 +0100 |
commit | 38f5c4873ec735842378afb46f2273d7b2aca850 (patch) | |
tree | 750701fee8db53e3791b11f190ef08f1fe983286 | |
parent | 44dec303cd9bd58b0ea121bfb5e5336ae740b24f (diff) | |
download | aur-38f5c4873ec735842378afb46f2273d7b2aca850.tar.gz |
Remove hydrus-sources package
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 9 insertions, 32 deletions
@@ -1,10 +1,11 @@ # Generated by mksrcinfo v8 -# Sun Oct 23 00:51:59 UTC 2016 +# Sun Oct 23 00:59:19 UTC 2016 pkgbase = hydrus pkgdesc = Danbooru-like image tagging and searching system for the desktop pkgver = 228 - pkgrel = 2 + pkgrel = 3 url = http://hydrusnetwork.github.io/hydrus/ + install = hydrus.install arch = any license = WTFPL makedepends = git @@ -30,6 +31,8 @@ pkgbase = hydrus optdepends = ffmpeg: show duration and other information on video thumbnails optdepends = miniupnpc: automatic port forwarding optdepends = desktop-file-utils: to add Hydrus to your desktop environment menus + conflicts = hydrus-docs + conflicts = hydrus-sources options = !strip source = hydrus::git+https://github.com/hydrusnetwork/hydrus.git#commit=f1739d900a746546752bd3f98517762d6c902e00 source = paths-in-opt.patch @@ -43,11 +46,4 @@ pkgbase = hydrus sha256sums = 9ba3942ac1a37f6b39c98ae6592573402bf08d8376f64554d0696c0fed6fd0e2 pkgname = hydrus - install = hydrus.install - conflicts = hydrus-docs - -pkgname = hydrus-sources - pkgdesc = Danbooru-like image tagging and searching system for the desktop (sources only) - depends = - optdepends = hydrus: The sources are not usable without extra files from the hydrus package @@ -3,12 +3,14 @@ options=(!strip) # Don't strip libs because there aren't any DOC_DIRS=(opt/hydrus/help) pkgbase=hydrus -pkgname=(hydrus hydrus-sources) +pkgname=(hydrus) pkgver=228 -pkgrel=2 +pkgrel=3 pkgdesc="Danbooru-like image tagging and searching system for the desktop" arch=(any) license=(WTFPL) +install=hydrus.install +conflicts=(hydrus-docs hydrus-sources) url=http://hydrusnetwork.github.io/hydrus/ depends=(python2 wxpython opencv python2-beautifulsoup4 python2-yaml hsaudiotag python2-pypdf2 python2-pafy python2-lz4 python2-numpy @@ -52,18 +54,12 @@ build() { } package_hydrus() { - install=hydrus.install - conflicts=(hydrus-docs) - cd "$pkgbase" # Create /opt/hydrus and copy hydrus files to there install -m755 -d "${pkgdir}/opt/hydrus" cp -r help include static client.pyw server.py "${pkgdir}/opt/hydrus/" - # Remove .py files - find "${pkgdir}/opt/hydrus/include" -name '*.py' -delete - # Create and populate /opt/hydrus/bin install -d -m755 "${pkgdir}/opt/hydrus/bin" ln -s /usr/bin/upnpc "${pkgdir}/opt/hydrus/bin/upnpc_linux" @@ -82,18 +78,3 @@ package_hydrus() { install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgbase}/" install -m644 license.txt "${pkgdir}/usr/share/licenses/${pkgbase}/" } - -package_hydrus-sources() { - depends=() - optdepends=('hydrus: The sources are not usable without extra files from the hydrus package') - pkgdesc="Danbooru-like image tagging and searching system for the desktop (sources only)" - - cd "$pkgbase" - - # Create /opt/hydrus and copy hydrus sources to there - install -m755 -d "${pkgdir}/opt/hydrus" - cp -r include "${pkgdir}/opt/hydrus/" - - # Remove .pyo files - find "${pkgdir}/opt/hydrus/include" -name '*.pyo' -delete -} |