summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/tox-git/PKGBUILD51
1 files changed, 28 insertions, 23 deletions
diff --git a/pcr/tox-git/PKGBUILD b/pcr/tox-git/PKGBUILD
index 0082f4b17..2fd34f88c 100644
--- a/pcr/tox-git/PKGBUILD
+++ b/pcr/tox-git/PKGBUILD
@@ -1,44 +1,49 @@
-# Maintainer (Arch): Boohbah <boohbah at gmail.com>
+# Maintainer (Arch): Kevin MacMartin <prurigro at gmail dot com>
+# Contributor (Arch): Boohbah <boohbah at gmail.com>
# Contributor (Arch): naxuroqa <naxuroqa at gmail.com>
-pkgname=tox-git
-pkgver=r3076.gdd51e03
+_pkgname=tox
+pkgname=$_pkgname-git
+pkgver=r3126.93b1c34
pkgrel=1
-pkgdesc="A FOSS instant messaging application aimed to replace Skype (git version)"
-arch=('i686' 'x86_64')
-url="https://tox.im/"
+pkgdesc='Secure, configuration-free, P2P Skype replacement backend'
+arch=('i686' 'x86_64' 'armv6h' 'armv7h')
+url='https://tox.im'
license=('GPL3')
-depends=('libconfig' 'libsodium' 'libvpx' 'opus')
-makedepends=('check' 'git')
-conflicts=('tox')
-provides=('tox')
-source=("${pkgname}::git+https://github.com/irungentoo/toxcore")
-md5sums=('SKIP')
+depends=('libsodium' 'opus' 'libvpx')
+makedepends=('git' 'check')
+optdepends=('qtox-git: qt-based frontend'
+ 'utox-git: lightweight tox client'
+ 'toxic-git: ncurses-based frontend')
+conflicts=("$_pkgname")
+provides=("$_pkgname")
+replaces=("$_pkgname")
+
+source=("$_pkgname::git+https://github.com/irungentoo/toxcore.git")
+sha512sums=('SKIP')
pkgver() {
- cd "${pkgname}"
- printf "r%s.g%s" \
- "$(git rev-list --count HEAD)" \
- "$(git rev-parse --short HEAD)"
+ cd $_pkgname
+ printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd "${pkgname}"
- autoreconf -i
+ cd $_pkgname
+ ./autogen.sh
./configure \
- --prefix="/usr" \
+ --prefix=/usr \
--enable-daemon \
- --disable-ntox \
+ --enable-ntox \
--disable-tests
make
}
check() {
- cd "${pkgname}"
+ cd $_pkgname
make check
}
package() {
- cd "${pkgname}"
- make DESTDIR="${pkgdir}" install
+ cd $_pkgname
+ make DESTDIR="$pkgdir" install
}