diff options
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 45 |
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..aab401eb3149 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +# Generated by mksrcinfo v8 +# Wed Jul 13 14:40:49 UTC 2016 +pkgbase = telepathy-kdeconnect-git + pkgdesc = KDE Connect TelepathyQt-based Connection Manager + pkgver = r4.aa7b689 + pkgrel = 1 + url = https://community.kde.org/KDEConnect + arch = i686 + arch = x86_64 + groups = telepathy + license = LGPL2.1 + makedepends = extra-cmake-modules + depends = telepathy-qt5 + provides = telepathy-kdeconnect + conflicts = telepathy-kdeconnect + options = !emptydirs + source = git+https://github.com/KDE/telepathy-kdeconnect.git + md5sums = SKIP + +pkgname = telepathy-kdeconnect-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c40d11231030 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: Thaodan <theodorstormgrade@gmail.com> +_pkgname=telepathy-kdeconnect +pkgname=${_pkgname}-git +pkgver=r4.aa7b689 +pkgrel=1 +pkgdesc="KDE Connect TelepathyQt-based Connection Manager" +url='https://community.kde.org/KDEConnect' +arch=('i686' 'x86_64') +groups=('telepathy') +license=('LGPL2.1') +depends=('telepathy-qt5') +makedepends=('extra-cmake-modules') +conflicts=($_pkgname) +provides=($_pkgname) +options=('!emptydirs') +source=(git+https://github.com/KDE/telepathy-kdeconnect.git) +md5sums=('SKIP') + +pkgver() +{ + cd $_pkgname + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() +{ + cd $_pkgname + mkdir -p build +} +build() { + cd $_pkgname/build + cmake ../. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_LIBEXECDIR=lib/telepathy \ + -DCMAKE_INSTALL_PREFIX=/usr + + CXXFLAGS+=" -Wno-error" + make +} + +package() { + cd $_pkgname/build + make DESTDIR="$pkgdir" install +} |