From 173039dced004bb81846a2b6a3eaf90984633647 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sat, 19 Mar 2016 17:17:31 -0500 Subject: utox: add new package to [pcr] --- pcr/utox/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ pcr/utox/utox.install | 12 ++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 pcr/utox/PKGBUILD create mode 100644 pcr/utox/utox.install (limited to 'pcr/utox') diff --git a/pcr/utox/PKGBUILD b/pcr/utox/PKGBUILD new file mode 100644 index 000000000..e7fcf5048 --- /dev/null +++ b/pcr/utox/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer (Arch): Vlad M. +# Contributor (Arch): HÃ¥vard Pettersson +# Contributor (Arch): Madotsuki +# Maintainer: Omar Vega Ramos + +pkgname=utox +_pkgname=uTox +pkgver=0.6.1 +pkgrel=1 +pkgdesc='Lightweight Tox client' +arch=('i686' 'x86_64' 'armv7h') +url="https://github.com/GrayHatter/uTox" +license=('GPL3') +depends=('desktop-file-utils' + 'fontconfig' + 'libfilteraudio-git' + 'hicolor-icon-theme' + 'libdbus' + 'libxext' + 'libxrender' + 'openal' + 'toxcore' + 'v4l-utils') +optdepends=('gtk3: GTK file picker') +makedepends=('toxcore') +source=("https://github.com/GrayHatter/$_pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('e375f1f2dc267a70dd2471673435e8281ea62c4743f6cda0fe9d211c816c7c4e') +install="$pkgname.install" + +build() { + cd "$_pkgname-$pkgver" + make +} + +package() { + cd "$_pkgname-$pkgver" + make PREFIX=/usr DESTDIR="$pkgdir" install +} diff --git a/pcr/utox/utox.install b/pcr/utox/utox.install new file mode 100644 index 000000000..f6b9b8021 --- /dev/null +++ b/pcr/utox/utox.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &>/dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} -- cgit v1.2.3