summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/tox-git/PKGBUILD32
1 files changed, 19 insertions, 13 deletions
diff --git a/pcr/tox-git/PKGBUILD b/pcr/tox-git/PKGBUILD
index 87b89b34a..8cc742a40 100644
--- a/pcr/tox-git/PKGBUILD
+++ b/pcr/tox-git/PKGBUILD
@@ -1,25 +1,30 @@
# Maintainer: freaj <freaj@riseup.net>
-# Maintainer (Arch): Kevin MacMartin <prurigro at gmail dot com>
-# Contributor (Arch): Boohbah <boohbah at gmail.com>
-# Contributor (Arch): naxuroqa <naxuroqa at gmail.com>
+# Contributor (AUR): HÃ¥vard Pettersson <mail@haavard.me>
+# Contributor (AUR): naxuroqa <naxuroqa at gmail.com>
+# Contributor (AUR): Boohbah <boohbah at gmail.com>
+# Contributor (AUR): Kevin MacMartin <prurigro at gmail dot com>
_pkgname=tox
-pkgname=$_pkgname-git
-pkgver=r3349.422e744
+pkgname=tox-git
+pkgver=r3350.6a1efc3
pkgrel=1
pkgdesc='Secure, configuration-free, P2P Skype replacement backend'
-arch=('i686' 'x86_64' 'armv6h' 'armv7h')
+arch=('i686' 'x86_64')
url='https://tox.im'
license=('GPL3')
-depends=('libsodium' 'opus' 'libvpx')
+depends=(
+ 'libconfig>=1.4'
+ 'libsodium>=1.0'
+ 'libvpx'
+ 'opus'
+)
makedepends=('git' 'check')
-optdepends=('qtox-git: qt-based frontend'
- 'utox-git: lightweight tox client'
- 'toxic-git: ncurses-based frontend')
+optdepends=('qtox-git: qt-based Tox client'
+ 'utox-git: lightweight Tox client'
+ 'toxic-git: ncurses-based Tox client')
conflicts=("$_pkgname")
provides=("$_pkgname")
replaces=("$_pkgname")
-
source=("$_pkgname::git+https://github.com/irungentoo/toxcore.git")
sha512sums=('SKIP')
@@ -30,11 +35,11 @@ pkgver() {
build() {
cd $_pkgname
- ./autogen.sh
+ autoreconf -if
./configure \
--prefix=/usr \
--enable-daemon \
- --enable-ntox \
+ --disable-ntox \
--disable-tests
make
}
@@ -47,4 +52,5 @@ check() {
package() {
cd $_pkgname
make DESTDIR="$pkgdir" install
+ install -Dm644 ./other/bootstrap_daemon/tox-bootstrapd.service "$pkgdir/usr/lib/systemd/system/tox-bootstrapd.service"
}