From eef8a6ddd42a4a5fdc35730d71d1b374c5a30527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Sat, 10 Jan 2015 03:07:20 -0200 Subject: utox-git: add new package to [pcr] --- pcr/utox-git/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pcr/utox-git/PKGBUILD (limited to 'pcr') 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 + +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 +} -- cgit v1.2.3-2-g168b