From 8246be0294c361104158c1eb26d0e0c00dbbd47a Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sat, 10 Jan 2015 03:05:49 -0200 Subject: tox-git: add new package to [pcr] --- pcr/tox-git/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 pcr/tox-git/PKGBUILD (limited to 'pcr') diff --git a/pcr/tox-git/PKGBUILD b/pcr/tox-git/PKGBUILD new file mode 100644 index 000000000..469c457a0 --- /dev/null +++ b/pcr/tox-git/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer (Arch): Boohbah +# Contributor (Arch): naxuroqa + +pkgname=tox-git +pkgver=r3071.g979b4bf +pkgrel=1 +pkgdesc="A FOSS instant messaging application aimed to replace Skype (git version)" +arch=('i686' 'x86_64') +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') + +pkgver() { + cd "${pkgname}" + printf "r%s.g%s" \ + "$(git rev-list --count HEAD)" \ + "$(git rev-parse --short HEAD)" +} + +build() { + cd "${pkgname}" + autoreconf -i + ./configure \ + --prefix="/usr" \ + --enable-daemon \ + --disable-ntox \ + --disable-tests + make +} + +check() { + cd "${pkgname}" + make check +} + +package() { + cd "${pkgname}" + make DESTDIR="${pkgdir}" install +} -- cgit v1.2.3-54-g00ecf