From e95773ad2a4bfc11aec079e95729193c61af55d9 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sat, 7 Feb 2015 02:16:34 -0200 Subject: utox-git-r1158.g8ed4616-1: updating version --- pcr/utox-git/PKGBUILD | 50 ++++++++++++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 22 deletions(-) (limited to 'pcr/utox-git/PKGBUILD') diff --git a/pcr/utox-git/PKGBUILD b/pcr/utox-git/PKGBUILD index f166c48aa..30ad2b38f 100644 --- a/pcr/utox-git/PKGBUILD +++ b/pcr/utox-git/PKGBUILD @@ -1,39 +1,45 @@ # Maintainer (Arch): Madotsuki -# Maintainer: André Silva +# Contributor (Arch): Håvard Pettersson (Previous maintainer while I was lollygagging.) -pkgname=utox-git -pkgver=20150107 +_pkgname=utox +pkgname="${_pkgname}-git" +pkgver=r1158.g8ed4616 pkgrel=1 -pkgdesc="Lightweight Tox client (git version)" + +pkgdesc='Lightweight Tox client' arch=('i686' 'x86_64') -url="https://github.com/notsecure/uTox" +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') + +depends=('tox-git' 'libxrender' 'openal' 'v4l-utils' 'libdbus' 'libxext' + 'fontconfig' 'desktop-file-utils' 'hicolor-icon-theme' 'filter_audio-git') +makedepends=('git') +optdepends=('gtk2: GTK file picker') + +provides=("${_pkgname}") +conflicts=("${_pkgname}") + +source=("${pkgname}::git+https://github.com/notsecure/uTox") +md5sums=('SKIP') + +install="${pkgname}.install" pkgver() { - cd ${pkgname%-git} - - git log -1 --format="%cd" --date=short | sed "s|-||g" + cd "${srcdir}/${pkgname}" + printf "r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)" } build() { - cd ${pkgname%-git} - - msg 'Building...' - make + cd "${srcdir}/${pkgname}" + make } package() { - cd ${pkgname%-git} - - msg 'Installing...' - make PREFIX="/usr" DESTDIR="$pkgdir" install + cd "${srcdir}/${pkgname}" + make PREFIX=/usr DESTDIR="${pkgdir}" install } + + -- cgit v1.2.3