summaryrefslogtreecommitdiff
path: root/pcr/utox-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/utox-git/PKGBUILD')
-rw-r--r--pcr/utox-git/PKGBUILD50
1 files changed, 28 insertions, 22 deletions
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 <madotsuki@cock.li>
-# Maintainer: André Silva <emulatorman@parabola.nu>
+# Contributor (Arch): Håvard Pettersson <mail@haavard.me> (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
}
+
+