summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/pybitmessage-git/PKGBUILD57
-rw-r--r--pcr/pybitmessage-git/pybitmessage.sh3
2 files changed, 0 insertions, 60 deletions
diff --git a/pcr/pybitmessage-git/PKGBUILD b/pcr/pybitmessage-git/PKGBUILD
deleted file mode 100644
index 86d65b7aa..000000000
--- a/pcr/pybitmessage-git/PKGBUILD
+++ /dev/null
@@ -1,57 +0,0 @@
-# Maintainer (Arch): Andreas Wagner <AndreasBWagner@pointfree.net>
-# Maintainer (Arch): Andy Weidenbaum <archbaum@gmail.com>
-# Contributor (Arch): Asta <gatien.bovyn@gmail.com>
-# Contributor (Arch): ptrv <mail@petervasil.net>
-
-_pkgname=pybitmessage
-pkgname=${_pkgname}-git
-pkgver=0.4.4.r43.gd16077b
-pkgrel=1
-pkgdesc="Bitcoin inspired P2P encrypted messenger"
-arch=('any')
-depends=('hicolor-icon-theme' 'python2' 'python2-pyqt' 'qt4')
-makedepends=('git')
-optdepends=('python2-gevent')
-url="https://github.com/Bitmessage/PyBitmessage"
-license=('MIT')
-source=($pkgname::git+https://github.com/Bitmessage/PyBitmessage
- pybitmessage.sh)
-sha256sums=('SKIP'
- 'c20eeeffd4931d8bcd50de5e6e1a974323ebbd3f5ad1d34483c6adeb3b5f3ae1')
-provides=('pybitmessage')
-conflicts=('pybitmessage')
-
-pkgver() {
- cd $pkgname
- git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
-}
-
-prepare() {
- cd $pkgname
-
- msg 'Fixing Python version...'
- find . -type f -print0 | xargs -0 sed -i 's#/usr/bin/python#/usr/bin/python2#g'
- find . -type f -print0 | xargs -0 sed -i 's#/usr/bin/env python#/usr/bin/env python2#g'
-}
-
-package() {
- cd $pkgname
-
- msg 'Installing shared files...'
- mkdir -p "$pkgdir"/usr/share/${_pkgname}
- cp -R src/* "$pkgdir"/usr/share/${_pkgname}
-
- msg 'Installing desktop icons...'
- install -D -m644 desktop/${_pkgname}.desktop "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
- install -D -m644 src/images/can-icon-24px.png "${pkgdir}/usr/share/icons/hicolor/24x24/apps/${_pkgname}.png"
- install -D -m644 desktop/can-icon.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_pkgname}.svg"
- install -D -m644 desktop/can-icon.svg "${pkgdir}/usr/share/pixmaps/${_pkgname}.svg"
-
- msg 'Installing executable...'
- install -D -m755 ${srcdir}/pybitmessage.sh "${pkgdir}/usr/bin/pybitmessage"
-
- msg 'Cleaning up pkgdir...'
- find "$pkgdir" -type d -name .git -exec rm -r '{}' +
- find "$pkgdir" -type f -name .gitignore -exec rm -r '{}' +
-}
-
diff --git a/pcr/pybitmessage-git/pybitmessage.sh b/pcr/pybitmessage-git/pybitmessage.sh
deleted file mode 100644
index 117dce3bc..000000000
--- a/pcr/pybitmessage-git/pybitmessage.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-python2 /usr/share/pybitmessage/bitmessagemain.py