diff options
author | Felix Yan | 2017-08-11 11:48:28 +0800 |
---|---|---|
committer | Felix Yan | 2017-08-11 11:48:28 +0800 |
commit | 25222852a910aae9e97b80b48944ad9df2efe125 (patch) | |
tree | b592a1c7a9fe698090764c18729ab21b4fd0d928 | |
download | aur-25222852a910aae9e97b80b48944ad9df2efe125.tar.gz |
addpkg: fcitx5-qt-git r79.fde1417-1
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1c4486e40b9c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +# Generated by mksrcinfo v8 +# Fri Aug 11 03:48:18 UTC 2017 +pkgbase = fcitx5-qt-git + pkgdesc = Fcitx Qt Library + pkgver = r79.fde1417 + pkgrel = 1 + url = https://github.com/fcitx/fcitx5 + arch = i686 + arch = x86_64 + license = GPL + makedepends = extra-cmake-modules + makedepends = git + depends = fcitx5-git + depends = qt4 + depends = qt5-x11extras + conflicts = fcitx-qt5 + source = git+https://github.com/fcitx/fcitx5-qt.git + sha512sums = SKIP + +pkgname = fcitx5-qt-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..aa7e5c376c51 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 226039 2017-04-27 13:52:30Z felixonmars $ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: csslayer <wengxt AT gmail com> + +pkgname=fcitx5-qt-git +pkgver=r79.fde1417 +pkgrel=1 +pkgdesc="Fcitx Qt Library" +arch=('i686' 'x86_64') +url="https://github.com/fcitx/fcitx5" +license=('GPL') +depends=('fcitx5-git' 'qt4' 'qt5-x11extras') +makedepends=('extra-cmake-modules' 'git') +conflicts=('fcitx-qt5') +source=("git+https://github.com/fcitx/fcitx5-qt.git") +sha512sums=('SKIP') + +pkgver() { + cd fcitx5-qt + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build(){ + cd fcitx5-qt + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=/usr/lib . + make +} + +package() { + cd fcitx5-qt + make DESTDIR="$pkgdir" install +} |