summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-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
+}