summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-03-19 17:17:31 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-03-19 17:17:31 -0500
commit173039dced004bb81846a2b6a3eaf90984633647 (patch)
treecf6b64ac5338625bcdedc6045bd14d892823f36b
parent6a2700a36c5c8b918f22eaeecdb8dfcdc14090be (diff)
downloadabslibre-173039dced004bb81846a2b6a3eaf90984633647.tar.gz
abslibre-173039dced004bb81846a2b6a3eaf90984633647.tar.bz2
abslibre-173039dced004bb81846a2b6a3eaf90984633647.zip
utox: add new package to [pcr]
-rw-r--r--pcr/utox/PKGBUILD38
-rw-r--r--pcr/utox/utox.install12
2 files changed, 50 insertions, 0 deletions
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. <vlad@archlinux.net>
+# Contributor (Arch): HÃ¥vard Pettersson <mail@haavard.me>
+# Contributor (Arch): Madotsuki <madotsuki at cock dot li>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+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
+}