diff options
Diffstat (limited to 'pcr/utox-git')
-rw-r--r-- | pcr/utox-git/PKGBUILD | 51 |
1 files changed, 20 insertions, 31 deletions
diff --git a/pcr/utox-git/PKGBUILD b/pcr/utox-git/PKGBUILD index f7f3f20e6..a03e9671c 100644 --- a/pcr/utox-git/PKGBUILD +++ b/pcr/utox-git/PKGBUILD @@ -1,56 +1,45 @@ -# Maintainer: freaj <freaj@riseup.net> -# Maintainer (Arch): Håvard Pettersson <mail@haavard.me> +# Maintainer (Arch): Vlad M. <vlad@archlinux.net> +# Contributor (Arch): Håvard Pettersson <mail@haavard.me> # Contributor (Arch): Madotsuki <madotsuki at cock dot li> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> _pkgname=utox pkgname=utox-git -pkgver=r1796.5a5132f -pkgrel=1 - +pkgver=0.3.2.r41.gd16f539 +pkgrel=2 pkgdesc='Lightweight Tox client' -arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h') +arch=('i686' 'x86_64' 'armv7h') url='https://github.com/notsecure/uTox' license=('GPL3') - -depends=( - 'desktop-file-utils' - 'fontconfig' - 'libfilteraudio-git' - 'hicolor-icon-theme' - 'libdbus' - 'libxext' - 'libxrender' - 'openal' - 'tox-git' - 'v4l-utils' -) +depends=('desktop-file-utils' + 'fontconfig' + 'libfilteraudio-git' + 'hicolor-icon-theme' + 'libdbus' + 'libxext' + 'libxrender' + 'openal' + 'toxcore' + 'v4l-utils') 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() -{ +pkgver() { cd "${srcdir}/${pkgname}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } -build() -{ +build() { cd "${srcdir}/${pkgname}" make } -package() -{ +package() { cd "${srcdir}/${pkgname}" make PREFIX=/usr DESTDIR="${pkgdir}" install } - - |