summaryrefslogtreecommitdiff
path: root/pcr/utox-git/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-01-10 03:07:20 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-01-10 03:07:20 -0200
commiteef8a6ddd42a4a5fdc35730d71d1b374c5a30527 (patch)
tree05b6aab69c6f61ba02f7dd3f6d8ea521ea27eca0 /pcr/utox-git/PKGBUILD
parent8246be0294c361104158c1eb26d0e0c00dbbd47a (diff)
utox-git: add new package to [pcr]
Diffstat (limited to 'pcr/utox-git/PKGBUILD')
-rw-r--r--pcr/utox-git/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/pcr/utox-git/PKGBUILD b/pcr/utox-git/PKGBUILD
new file mode 100644
index 000000000..fdd69b139
--- /dev/null
+++ b/pcr/utox-git/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer (Arch): Madotsuki <madotsuki@cock.li>
+
+pkgname=utox-git
+pkgver=20140821
+pkgrel=1
+pkgdesc="Lightweight Tox client (git version)"
+arch=('i686' 'x86_64')
+url="https://github.com/notsecure/uTox"
+license=('GPL3')
+depends=('freetype2' 'v4l-utils' 'libvpx' 'openal' 'tox-git' 'dbus-c++')
+makedepends=('git' 'make')
+source=(${pkgname%-git}::git+https://github.com/notsecure/uTox)
+sha256sums=('SKIP')
+provides=('utox')
+conflicts=('utox')
+
+pkgver()
+{
+ cd ${pkgname%-git}
+
+ git log -1 --format="%cd" --date=short | sed "s|-||g"
+}
+
+build()
+{
+ cd ${pkgname%-git}
+
+ msg 'Building...'
+ make
+}
+
+package()
+{
+ cd ${pkgname%-git}
+
+ msg 'Installing...'
+ make PREFIX="/usr" DESTDIR="$pkgdir" install
+}