summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Scheirer2016-01-26 15:48:39 -0500
committerMatt Scheirer2016-01-26 15:48:39 -0500
commitaa4659f50386401134a70d2bca1eb6b86168b8d9 (patch)
treef6355212662e8406d8180275527d3c60848cdf83
parented8a9a73cf4d90729e2eff665545e495937773a5 (diff)
downloadaur-aa4659f50386401134a70d2bca1eb6b86168b8d9.tar.gz
Changed versions to use long tags
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD14
2 files changed, 12 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e05b3b3169a..669bede102a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Tue Jan 26 20:48:32 UTC 2016
pkgbase = telepathy-kde-filetransfer-handler-git
pkgdesc = KDE Telepathy file transfer handler
- pkgver = r184.482151e
+ pkgver = v15.07.80.r1.g876a8e3
pkgrel = 1
url = http://community.kde.org/Real-Time_Communication_and_Collaboration
arch = i686
@@ -12,7 +14,7 @@ pkgbase = telepathy-kde-filetransfer-handler-git
makedepends = python
depends = telepathy-kde-common-internals-git
conflicts = telepathy-kde-filetransfer-handler
- source = git://anongit.kde.org/ktp-filetransfer-handler.git
+ source = git://anongit.kde.org/ktp-filetransfer-handler
sha256sums = SKIP
pkgname = telepathy-kde-filetransfer-handler-git
diff --git a/PKGBUILD b/PKGBUILD
index 06766bba0b6..385d3871fb7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,10 @@
+# Maintainer Zanny <lordzanny@gmail.com>
# Maintainer: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
# Author: Antonio Rojas <arojas@archlinux.org>
+_gitname=ktp-filetransfer-handler
pkgname=telepathy-kde-filetransfer-handler-git
-pkgver=r184.482151e
+pkgver=v15.07.80.r1.g876a8e3
pkgrel=1
pkgdesc='KDE Telepathy file transfer handler'
arch=('i686' 'x86_64')
@@ -11,12 +13,12 @@ license=('GPL')
depends=('telepathy-kde-common-internals-git')
makedepends=('extra-cmake-modules' 'git' 'kdoctools' 'python')
conflicts=('telepathy-kde-filetransfer-handler')
-source=("git://anongit.kde.org/ktp-filetransfer-handler.git")
+source=("git://anongit.kde.org/$_gitname")
sha256sums=('SKIP')
pkgver() {
- cd ktp-filetransfer-handler
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd "$srcdir/$_gitname"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
@@ -25,7 +27,7 @@ prepare() {
build() {
cd build
- cmake ../ktp-filetransfer-handler \
+ cmake ../$_gitname \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=lib \
@@ -35,5 +37,5 @@ build() {
package() {
cd build
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="$pkgdir" install
}