summaryrefslogtreecommitdiff
path: root/pcr/utox-git/PKGBUILD
blob: f166c48aa9bad88cc34e6bbdb3dfb5b32b4b474d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer (Arch): Madotsuki <madotsuki@cock.li>
# Maintainer: André Silva <emulatorman@parabola.nu>

pkgname=utox-git
pkgver=20150107
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++' 'libx11' 'libxrender' 'libxext' 'fontconfig' 'freetype2')
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
}