summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorfreaj <freaj@riseup.net>2015-03-13 10:28:39 +0100
committerfreaj <freaj@riseup.net>2015-03-13 10:28:39 +0100
commitefc3f3d4fd841c73014590e84e34ee6a0dd4b295 (patch)
tree5274eaa7a2793bc21cad6f3c429dd8170cfb5baf /pcr
parentc8359e48f5915fd7526e7e6bfac450507d51c418 (diff)
downloadabslibre-efc3f3d4fd841c73014590e84e34ee6a0dd4b295.tar.gz
abslibre-efc3f3d4fd841c73014590e84e34ee6a0dd4b295.tar.bz2
abslibre-efc3f3d4fd841c73014590e84e34ee6a0dd4b295.zip
qtox-git-r2363.244d6da-1: updating version
Diffstat (limited to 'pcr')
-rw-r--r--pcr/qtox-git/PKGBUILD84
1 files changed, 42 insertions, 42 deletions
diff --git a/pcr/qtox-git/PKGBUILD b/pcr/qtox-git/PKGBUILD
index 91656e035..297b93815 100644
--- a/pcr/qtox-git/PKGBUILD
+++ b/pcr/qtox-git/PKGBUILD
@@ -1,65 +1,65 @@
# Maintainer (Arch): Kevin MacMartin <prurigro at gmail dot com>
_pkgname=qtox
-pkgname=${_pkgname}-git
-pkgver=r1827.c0fef78
+pkgname=$_pkgname-git
+_pkgver=244d6da
+pkgver=r2363.244d6da
pkgrel=1
-pkgdesc="Powerful QT Tox client that tries to follow the Tox UI guidlines"
-arch=('i686' 'x86_64')
-url="https://github.com/tux3/qTox"
+pkgdesc='Powerful QT Tox client that tries to follow the Tox UI guidlines'
+arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
+url='https://github.com/tux3/qTox'
license=('GPL3')
-depends=('desktop-file-utils'
- 'filter_audio-git'
- 'libxkbcommon-x11'
- 'libxss'
- 'opencv'
- 'openal'
- 'qt5-base'
- 'tox-git>=r3070')
+depends=(
+ 'tox-git'
+ 'desktop-file-utils'
+ 'filter_audio-git'
+ 'libxkbcommon-x11'
+ 'libxss'
+ 'opencv'
+ 'qt5-svg'
+ 'openal-soft-tox'
+)
makedepends=('git' 'qt5-tools')
provides=("$_pkgname")
conflicts=("$_pkgname")
-replaces=("$_pkgname")
-install="${pkgname}.install"
-source=("${_pkgname}::git+${url}.git")
+install=$pkgname.install
+source=("$_pkgname::git+$url#commit=$_pkgver")
sha512sums=('SKIP')
pkgver() {
- cd $_pkgname
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd $_pkgname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
- cd $_pkgname
- [[ -d 'libs' ]] \
- && rm -rf libs
- install -d libs
- ln -s /usr/lib libs/
- ln -s /usr/include libs/
+ cd $_pkgname
+ [[ -d './libs' ]] && rm -rf ./libs
+ install -d libs
+ ln -s /usr/lib libs/
+ ln -s /usr/include libs/
}
build() {
- cd $_pkgname
- install -d build
- cd build
- qmake-qt5 ..
- make
+ cd $_pkgname
+ install -d build
+ cd build
+ qmake-qt5 ..
+ make
}
package() {
- cd $_pkgname
+ # executable
+ cd $_pkgname
+ install -Dm755 build/$_pkgname "$pkgdir/usr/bin/$_pkgname"
- # executable
- install -Dm755 build/${_pkgname} "${pkgdir}/usr/bin/${_pkgname}"
+ # xdg desktop file
+ install -Dm644 qTox.desktop "$pkgdir/usr/share/applications/qTox.desktop"
- # xdg desktop file
- install -Dm644 qTox.desktop "${pkgdir}/usr/share/applications/qTox.desktop"
-
- # icons
- cd img/icons
- for _icon in *.png; do
- _size=$(sed 's|^[^-]*-||;s|\.png||' <<< $_icon)
- install -Dm644 $_icon "$pkgdir"/usr/share/icons/hicolor/${_size}/apps/${_pkgname}.png
- done
- install -Dm644 ${_pkgname}.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/${_pkgname}.png
+ # icons
+ cd img/icons
+ for _icon in *.png; do
+ _size=$(sed 's|^[^-]*-||;s|\.png||' <<< "$_icon")
+ install -Dm644 "$_icon" "$pkgdir/usr/share/icons/hicolor/$_size/apps/$_pkgname.png"
+ done
+ install -Dm644 $_pkgname.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/$_pkgname.png"
}